From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Type declarations in Elisp Date: Sun, 27 Aug 2023 10:04:04 -0400 Message-ID: References: <87il984vxv.fsf@localhost> <03fc79f4-a532-71b1-0de9-8e52bdf3f138@gmail.com> <87msykfwym.fsf@localhost> <83lee3tjla.fsf@gnu.org> <87wmxm7iu2.fsf@dataswamp.org> <878r9wg9l3.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37790"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emanuel Berg , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 27 16:04:31 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qaGNS-0009XI-Qu for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Aug 2023 16:04:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaGN5-0006OU-MC; Sun, 27 Aug 2023 10:04:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaGN4-0006Lu-Mx for emacs-devel@gnu.org; Sun, 27 Aug 2023 10:04:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaGN3-0001tV-HX; Sun, 27 Aug 2023 10:04:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=uY/kt1UzueklPTYZoHaizih+r8YjXFECvMkSN8EnaQ8=; b=in1w26BoKiVqRf/08KKk 8W3EIWMFRNjdTqmXqibPE+QjN5G8Bm856fqzuXNz5onhHtjgjosSBAh7hLeqrDU9M/vuSY2PJHN6o 8z5dRgIM6tSUzvlHK6Oqo0p3FsvVJpoBEqAP8eJlS3DmGEjMc1O6GBB+Ph00CAQh7rhWJftA3hoPh wNK0jZy4ms1L6Vb1radgo8XI9Jbme6NyifJQsplkesa9zjG2IDheUKmZEQUaLvL0g6ClrlILOJxk1 7AW3nyhaNQyLHvqku69c4HabyYccRjGhoDX79AEPXcbs6xou/3OnV/+uVPjidbiHqGklfOEvGu7s1 9OX9z/0NF512Aw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qaGN3-0007Zn-1j; Sun, 27 Aug 2023 10:04:05 -0400 In-Reply-To: <878r9wg9l3.fsf@localhost> (Ihor Radchenko's message of "Sun, 27 Aug 2023 08:42:32 +0000") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309346 Archived-At: Ihor Radchenko writes: > Emanuel Berg writes: > >> FWIW here are the results before I lost interest in the idea, >> for now at least. > > Do I read correctly that most of the benchmarks run faster (if we > disregard GC) in Elisp compared to CBCL? > > Elisp bubble: 0.68 sec vs CBCL 0.66 sec > Elisp bubble-no-cons: 1.06 sec vs SBCL 0.81 sec > Elisp fibn: 0.00 sec vs. SBCL 0.07 sec > Elisp fibn-rec: 0.00 sec vs. SBCL 0.55 sec > Elisp fibn-tc: 0.00 sec vs. SBCL 0.41 sec IIRC the issue is that the native compiler at speed 3 completly optmizes out the thress fibonacci bechmarks, when I wrote/added those u-benchmark it was not the case but afterward the compiler got smarter. Andrea