bench icon indicating copy to clipboard operation
bench copied to clipboard

Possible Improvements

Open changkun opened this issue 3 years ago • 2 comments

  • -o support rename the output
  • -cmp Benchmark1 Benchmark2 compare benchmarks with different names
  • Do not save benchmark results until we have enough data (improve error messages)
  • Better support macOS with performance locking (@yangwenmai)
    • On Linux we have great stuff: https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt
    • How to control cpureq on darwin? Here are some investigations, needs a double check:
    • sysctl hw | grep freq
    • See https://github.com/shirou/gopsutil/blob/master/cpu/cpu_darwin_cgo.go
    • See mach documentation: https://opensource.apple.com/source/xnu/xnu-201.5/bsd/sys/sysctl.h.auto.html
    • See more mach documentation: https://opensource.apple.com/source/xnu/xnu-792/osfmk/mach/processor_info.h.auto.html

changkun avatar Nov 09 '20 06:11 changkun