luau/bench
Arseny Kapoulkine 48aa7a5162
bench: Implement first class support for callgrind (#570)
Since callgrind allows to control stats collection from the guest, this
allows us to reset the collection right before the benchmark starts.

This change exposes this to the benchmark runner and integrates
callgrind data parsing into bench.py, so that we can run bench.py with
--callgrind argument and, as long as the runner was built with callgrind
support, we get instruction counts from the run.

We convert instruction counts to seconds using 10G instructions/second
rate; there's no correct way to do this without simulating the full CPU
pipeline but it results in time units on a similar scale to real runs.
2022-07-04 11:13:07 -07:00
..
gc Sync to upstream/release/517 (#408) 2022-03-04 08:36:33 -08:00
micro_tests Sync to upstream/release/526 (#477) 2022-05-05 17:03:43 -07:00
static_analysis Added multi-os runners for benchmark & implemented luau analyze (#542) 2022-06-24 09:46:29 -07:00
tests Sync to upstream/release/526 (#477) 2022-05-05 17:03:43 -07:00
bench_support.lua bench: Implement first class support for callgrind (#570) 2022-07-04 11:13:07 -07:00
bench.py bench: Implement first class support for callgrind (#570) 2022-07-04 11:13:07 -07:00
color.py Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
influxbench.py Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
install.bat Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
install.sh Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
measure_time.py Added multi-os runners for benchmark & implemented luau analyze (#542) 2022-06-24 09:46:29 -07:00
tabulate.py Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00