luau/CLI
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
..
Analyze.cpp Sync to upstream/release/533 (#560) 2022-06-23 18:56:00 -07:00
Ast.cpp Add Luau.Ast.CLI target (#345) 2022-02-07 12:08:43 -08:00
Coverage.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
Coverage.h Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
FileUtils.cpp Sync to upstream/release/525 (#467) 2022-04-28 18:24:24 -07:00
FileUtils.h luau-analyze: Add support for reading source code from stdin (#325) 2022-01-25 08:25:01 -08:00
Profiler.cpp Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
Profiler.h Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
Repl.cpp bench: Implement first class support for callgrind (#570) 2022-07-04 11:13:07 -07:00
Repl.h Sync to upstream/release/514 (#357) 2022-02-11 11:02:09 -08:00
ReplEntry.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
Web.cpp Sync to upstream/release/509 (#303) 2022-01-06 17:46:53 -08:00