1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/website
Kevin (Kun) "Kassimo" Qian d957f8ebc2 Add syscall count benchmark for 002_hello.ts (#820)
* Add syscall count tracking for benchmark

* Add fetch_deps thread benchmark

* Switch to `strace -c` for syscall parsing

* Spawn http_server during benchmark (for fetch)

* Rename `benchmarks` to `exec_time_benchmarks`

* Update app_test.js
2018-09-24 23:58:18 -04:00
..
app.js Add syscall count benchmark for 002_hello.ts (#820) 2018-09-24 23:58:18 -04:00
app_test.js Add syscall count benchmark for 002_hello.ts (#820) 2018-09-24 23:58:18 -04:00
index.html Add syscall count benchmark for 002_hello.ts (#820) 2018-09-24 23:58:18 -04:00
README.md benchmark: track the binary size (#804) 2018-09-23 11:54:07 -04:00

About benchmark data

The benchmark chart supposes //website/data.json has the signature of BenchmarkData[] where BenchmarkData is defined like the below:

interface ExecTimeData {
  mean: number
  stddev: number
  user: number
  system: number
  min: number
  max: number
}

interface BenchmarkData {
  created_at: string,
  sha1: string,
  binary_size?: number,
  benchmark: {
    [key: string]: ExecTimeData
  }
}