chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #654: time command overly precise after 7756d8b


From: Chicken Trac
Subject: [Chicken-janitors] #654: time command overly precise after 7756d8b
Date: Mon, 18 Jul 2011 00:37:59 -0000

#654: time command overly precise after 7756d8b
----------------------+-----------------------------------------------------
 Reporter:  zbigniew  |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  minor     |   Milestone:  4.8.0
Component:  unknown   |     Version:  4.7.x
 Keywords:            |  
----------------------+-----------------------------------------------------
 Looks like the change to C_cpu_milliseconds causes (time) to display
 artificially precise numbers.  Not immediately clear why, it should just
 be displaying up to usec.

 Example: results of `csi -script tests/port-test.scm` is

 {{{
 slow...
 0.166863s CPU time, 0.00136399999999999s GC time (major), 13414 mutations,
 3/2039 GCs (major/minor)
 fast...
 0.00144299999999998s CPU time, 30 mutations, 0/3 GCs (major/minor)
 }}}

 versus previously:

 {{{
 slow...
 0.036s CPU time, 0.001s GC time (major), 2740 mutations, 3/409 GCs
 (major/minor)
 fast...
 0s CPU time, 30 mutations, 0/1 GCs (major/minor)
 }}}

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/654>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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