From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Amirouche Boubekki Newsgroups: gmane.lisp.guile.user,gmane.org.wikimedia.wikidata,gmane.org.w3c.semantic-web Subject: Re: [ANN] nomunofu v0.1.0 Date: Sun, 22 Dec 2019 20:17:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="59918"; mail-complaints-to="usenet@blaine.gmane.org" To: Guile User , Discussion list for the Wikidata project , semantic-web Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Dec 22 21:18:22 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ij7gD-000FRF-Q4 for guile-user@m.gmane.org; Sun, 22 Dec 2019 21:18:21 +0100 Original-Received: from localhost ([::1]:50412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ij7gB-0002Jd-UH for guile-user@m.gmane.org; Sun, 22 Dec 2019 15:18:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48349) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ij7fr-0002JW-9M for guile-user@gnu.org; Sun, 22 Dec 2019 15:18:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ij7fn-0002ga-Gv for guile-user@gnu.org; Sun, 22 Dec 2019 15:17:59 -0500 Original-Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]:40612) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ij7fm-0002cz-JC for guile-user@gnu.org; Sun, 22 Dec 2019 15:17:54 -0500 Original-Received: by mail-vs1-xe2c.google.com with SMTP id g23so9471222vsr.7 for ; Sun, 22 Dec 2019 12:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ZwtWBXk337hxDwqvfLjDt1c0nbGSLdGsEis9meSWPUg=; b=YHSC3euUukyaiZav3E46TkLgIbBZ6/WPnWMCg4sF0oWFJdqREFESQg7puG5Ld57GSn wHZowFgPd6/crY+W1Vh/I7AWrCAk5lBMpkrZZ1EeKt5chrL/vFVgfmJel8JJKSAiPWAa +tMKEiAP7uY7flknEQA8lMQOdw3Z2uZ6WLwJdeofYilfHGdlHLSEwq1cdlROp4caA2mH DikKCtalimOEr2yCKybD4ISqhzVZsE9J3uIz+chKmfMFmYtY8GV84i1brKq4hRqiE0lL I3HHnE+iOgawcTyqWvabmCqaYOJpS8pTbNFdUwNI0W/6rvgzTjsx499GRhL4G0++Mgmb II0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ZwtWBXk337hxDwqvfLjDt1c0nbGSLdGsEis9meSWPUg=; b=eaav+8psFbP4XuTP54DU6DQ6304BvNMEaw1VYW7ZHo9edwFWRmhCj3uYe23FBFJPM1 Ei4nVPcErJCquMvYq+9NQcOGB5zCa3Y8gxFMy3TivKkA/R3rkC3S01vii7X2PEouHLLK 8HbiJvKAy38UQpJBY0D/1pxcHDp3KNe1mZn7sXKZ/rQjlHrJrq/4uvV9Y+FwLk6wmQj8 2Hnx4SY9vSYzVYD2tAH/YkL9kzC47ZcnSbFIVjLOiHfqHas/W1rTQG7bWDO7nmNRmFiO GtwROM3BDjJ9we2ZvN7rrMKCYVlgcSVIxU3Mbh51SOnNTMyzq1o7E1e5MpsFXOCirpaN 3OyQ== X-Gm-Message-State: APjAAAVX4GFx9br7+YtvGe6a6drEnkInYrA+HBKKBZk+R9tozwNQSjd4 IrdtOaQ7luM/ncfnLlonNboWufUjds4AGZ1tTmINZOBCnUs= X-Google-Smtp-Source: APXvYqyTCFbIF+7ELoebE45gE6OojzH649Aa9sJIEji9pufClmkNOsrQqE5zN288cGH3kt8IOF1n8MyNvZApr1dLnUE= X-Received: by 2002:a67:fe50:: with SMTP id m16mr15010039vsr.114.1577045872710; Sun, 22 Dec 2019 12:17:52 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::e2c X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15967 gmane.org.wikimedia.wikidata:12835 gmane.org.w3c.semantic-web:26083 Archived-At: Hello all ;-) I ported the code to Chez Scheme to do an apple-to-apple comparison between GNU Guile and Chez and took the time to launch a few queries against Virtuoso available in Ubuntu 18.04 (LTS). Spoiler: the new code is always faster. The hard disk is SATA, and the CPU is dubbed: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz I imported latest-lexeme.nt (6GB) using guile-nomunofu, chez-nomunofu and Virtuoso: - Chez takes 40 minutes to import 6GB - Chez is 3 to 5 times faster than Guile - Chez is 11% faster than Virtuoso Regarding query time, Chez is still faster than Virtuoso with or without cache. The query I am testing is the following: SELECT ?s ?p ?o FROM WHERE { ?s . ?s . ?s ?o }; Virtuoso first query takes: 1295 msec. The second query takes: 331 msec. Then it stabilize around: 200 msec. chez nomunofu takes around 200ms without cache. There is still an optimization I can do to speed up nomunofu a little. Happy hacking!