-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
query-engine/driver-adapters/executor/script/bench.sh | ||
[90mcpu: Apple M1 Pro[39m | ||
[90mruntime: node v18.17.0 (arm64-darwin)[39m | ||
|
||
benchmark time (avg) (min … max) p75 p99 p995 | ||
-------------------------------------------------------------- ----------------------------- | ||
• movies.findMany() (all - 25000) | ||
[90m-------------------------------------------------------------- -----------------------------[39m | ||
Web Assembly: Baseline [33m129.59 µs[39m/iter ([36m115.33 µs[39m … [35m881.38 µs[39m) [90m129.5 µs[39m [90m171.71 µs[39m [90m302.33 µs[39m | ||
Web Assembly: Latest [33m138.29 µs[39m/iter ([36m121.58 µs[39m … [35m2.29 ms[39m) [90m137.71 µs[39m [90m180.67 µs[39m [90m199.83 µs[39m | ||
Web Assembly: Current [33m1.05 ms[39m/iter ([36m794.04 µs[39m … [35m1.93 ms[39m) [90m1.21 ms[39m [90m1.62 ms[39m [90m1.8 ms[39m | ||
Node API: Current [33m2.34 ms[39m/iter ([36m1.98 ms[39m … [35m2.94 ms[39m) [90m2.42 ms[39m [90m2.83 ms[39m [90m2.89 ms[39m | ||
|
||
[1msummary[22m[90m for movies.findMany() (all - 25000)[39m | ||
[1m[36mWeb Assembly: Current[39m[22m | ||
[31m8.1[39mx slower than [1m[36mWeb Assembly: Baseline[39m[22m | ||
[31m7.59[39mx slower than [1m[36mWeb Assembly: Latest[39m[22m | ||
[32m2.23[39mx faster than [1m[36mNode API: Current[39m[22m |