chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1172: The overhead of loading import files is no


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1172: The overhead of loading import files is noticable
Date: Sun, 20 May 2018 19:16:26 -0000

#1172: The overhead of loading import files is noticable
---------------------------------------+------------------------------
            Reporter:  sjamaan         |      Owner:
                Type:  defect          |     Status:  new
            Priority:  major           |  Milestone:  5.0
           Component:  core libraries  |    Version:  4.9.x
          Resolution:                  |   Keywords:  modules, loading
Estimated difficulty:  hard            |
---------------------------------------+------------------------------
Changes (by sjamaan):

 * milestone:  5.1 => 5.0


Comment:

 I think this is fixed with the patch for #1457:

 Without the patch:

 {{{
 $ ./benchmark-loader
 >>> loading 'plugin.so'
 0.052s CPU time, 3197/867 mutations (total/tracked), 3/85 GCs
 (major/minor), maximum live heap: 639.83 KiB
 >>> loading 'unit-plugin.so'
 0s CPU time, 61/22 mutations (total/tracked), 0/1 GCs (major/minor),
 maximum live heap: 640.27 KiB
 }}}

 With the patch:

 {{{
 >>> loading 'plugin.so'
 0s CPU time, 85/44 mutations (total/tracked), 0/1 GCs (major/minor),
 maximum live heap: 301.5 KiB
 >>> loading 'unit-plugin.so'
 0.004s CPU time, 61/22 mutations (total/tracked), 0/1 GCs (major/minor),
 maximum live heap: 301.94 KiB
 }}}

 So we can close this when accepted.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1172#comment:5>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]