Changeset 39368 in project
- Timestamp:
- 11/24/20 02:42:33 (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/eggref/5/micro-benchmark
r39367 r39368 55 55 {{micro-stats}} {{(generate-statistics)}} report. 56 56 57 : {{ITERATIONS}} ;{{fixnum}} ; defaults to {{(curren-benchmark-iterations)}}58 : {{STAT-ID}} ;{{symbol}} ; defaults to {{(current-benchmark-statistics-set)}}57 ; {{ITERATIONS}} : {{fixnum}} ; defaults to {{(curren-benchmark-iterations)}} 58 ; {{STAT-ID}} : {{symbol}} ; defaults to {{(current-benchmark-statistics-set)}} 59 59 60 60 === benchmark-ips … … 66 66 returns a {{(generate-statistics)}} report. 67 67 68 : {{SECONDS}} ;{{fixnum}} ; seconds of run while counting, defaults to {{5}}69 : {{WARMUPS}} ;{{fixnum}} ; seconds of run before counting, defaults to {{2}}70 : {{STAT-ID}} ;{{symbol}} ; statistics set generated68 ; {{SECONDS}} : {{fixnum}} ; seconds of run while counting, defaults to {{5}} 69 ; {{WARMUPS}} : {{fixnum}} ; seconds of run before counting, defaults to {{2}} 70 ; {{STAT-ID}} : {{symbol}} ; statistics set generated 71 71 72 72 === benchmark-measure-run … … 76 76 Returns the {{ITERATIONS}} X {{(EXPR ...)}} runtimes. 77 77 78 : {{ITERATIONS}} ;{{fixnum}} ; defaults to {{(curren-benchmark-iterations)}}78 ; {{ITERATIONS}} : {{fixnum}} ; defaults to {{(curren-benchmark-iterations)}} 79 79 80 80 === benchmark-measure-ips … … 86 86 returns a list of the runtimes. 87 87 88 : {{SECONDS}} ;{{fixnum}} ; seconds of run while counting, defaults to {{5}}89 : {{WARMUPS}} ;{{fixnum}} ; seconds of run before counting, defaults to {{2}}88 ; {{SECONDS}} : {{fixnum}} ; seconds of run while counting, defaults to {{5}} 89 ; {{WARMUPS}} : {{fixnum}} ; seconds of run before counting, defaults to {{2}} 90 90 91 91 === run-benchmark-measure … … 102 102 returns the runtimes. 103 103 104 : {{SECONDS}} ;{{fixnum}} ; seconds of run while counting, defaults to {{5}}105 : {{WARMUPS}} ;{{fixnum}} ; seconds of run before counting, defaults to {{2}}104 ; {{SECONDS}} : {{fixnum}} ; seconds of run while counting, defaults to {{5}} 105 ; {{WARMUPS}} : {{fixnum}} ; seconds of run before counting, defaults to {{2}} 106 106 107 107 === bigO … … 131 131 <enscript highlight=scheme> 132 132 (import micro-benchmark) 133 134 ;YMMV 133 135 134 136 ;; simply measure the runtime of the given fragment … … 160 162 == Version history 161 163 162 : 0.0.1 ;C5 release.164 ; 0.0.1 : C5 release. 163 165 164 166
Note: See TracChangeset
for help on using the changeset viewer.