rorygraves / scalac_perf

The Scala programming language
http://www.scala-lang.org/
16 stars 3 forks source link

add library cpu and memory profiling #4

Open mkeskells opened 7 years ago

mkeskells commented 7 years ago

add some benchmarks to scala collection benchmarks

I think that can be based on JMH, but we will probably need to provide a extension via https://github.com/jacek-lewandowski/jmh-jl/blob/master/jmh-core/src/main/java/org/openjdk/jmh/profile/InternalProfiler.java to detect allocated memory. Maybe a custom profiler with all of the counters that we are interested in

Probably we will need a tool that can run the same code against a common version and new version as we have for the compiler. When someone starts to work on this , , this tickit wil be probably split to all the peice parts that we need