On Saturday, June 18, 2016 at 6:15:11 AM UTC+2, gordo...@gmail.com wrote: > > Here is a golang version of Daniel Bernstein's "eratspeed", which is a > straight translation of his C code to golang without any changes other than > as necessary to make it work: https://play.golang.org/p/Sd6qlMQcHF. >
$ perf stat --repeat=100 -- ./eratspeed-go1.7tip Performance counter stats for './eratspeed-go1.7tip' (100 runs): 612.731838 task-clock (msec) # 1.002 CPUs utilized ( +- 0.06% ) 129 context-switches # 0.210 K/sec ( +- 0.50% ) 7 cpu-migrations # 0.012 K/sec ( +- 3.95% ) 185 page-faults # 0.302 K/sec ( +- 0.10% ) 2,442,624,802 cycles # 3.986 GHz ( +- 0.06% ) 33,146,164 stalled-cycles-frontend # 1.36% frontend cycles idle ( +- 0.33% ) 611,827,173 stalled-cycles-backend # 25.05% backend cycles idle ( +- 0.21% ) 6,851,374,060 instructions # 2.80 insn per cycle # 0.09 stalled cycles per insn ( +- 0.00% ) 1,277,112,717 branches # 2084.293 M/sec ( +- 0.00% ) 2,924,448 branch-misses # 0.23% of all branches ( +- 0.09% ) 0.611729451 seconds time elapsed ( +- 0.06% ) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.