Skip to content

Commit

Permalink
minor: note about aforementioned benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
rrnewton committed Oct 24, 2014
1 parent 0f844b3 commit 5cba8f7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions DEVLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,18 @@ But the MINIMUM doesn't go as low as -A20M, and it's USUALLY worse
than the -A20M version.


[2014.10.23] {Criterion Microbenchmarking}
------------------------------------------

Adding simple microbenchmarks for "return ()" and fork. The NOOP
benchmark takes 18.5 ns if the "benchPar" helper is not inlined.
Adding inlining drops it down to one iteration/cycle, e.g. "283
ps"/iter.

Also dramatically, inlining benchPar drops the fork microbenchmork
from 1.6 microseconds / 751 bytes, to 389ns/600-bytes. That
allocation is still high enough that it's not completely deforesting
the Trace structure...


TEMP / SCRAP:
Expand All @@ -830,3 +841,5 @@ TEMP / SCRAP:





0 comments on commit 5cba8f7

Please sign in to comment.