]> git.kaiwu.me - quickjs.git/commit
Improve microbench
authorCharlie Gordon <github@chqrlie.org>
Sun, 11 Feb 2024 11:11:53 +0000 (12:11 +0100)
committerCharlie Gordon <github@chqrlie.org>
Sun, 11 Feb 2024 11:11:53 +0000 (12:11 +0100)
commitc9e6c56c70cc2f20138de8e38f3b1907b8cf4d7b
tree0078f564aca3741a7d682dde6a71b71d37934b5f
parent2c793e50979e64a51178c1048071c97722eb1bf1
Improve microbench

- remove import statements (invoke with qjs --std)
- fix compatibility issues with node
- add more loop styles
- add more string concatenation tests
- use === and !=== where appropriate
- fix sort timing log
- add `-r ref_file` command line option to specify reference file
- add .gitignore file with target file patterns
.gitignore [new file with mode: 0644]
Makefile
tests/microbench.js