summaryrefslogtreecommitdiff
path: root/tools/benchmark_test.py
AgeCommit message (Collapse)Author
2020-08-28Move benchmarks to Rust (#7134)Valentin Anger
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.
2020-07-20fix benchmark_test (#6814)Ryan Dahl
2020-07-04chore: port http_server.py to rust (#6364)Ryan Dahl
2020-01-20Fix bug in strace parser (#3720)Ry Dahl
Co-authored-by: @kt3k
2020-01-02Happy new year! (#3578)Ry Dahl
2019-09-11Upgrade pylint (#2917)Ryan Dahl
depot_tools is removing pylint from its distribution so we must maintain our own copy.
2019-09-02Refactor snapshot build (#2825)Ryan Dahl
Instead of using core/snapshot_creator.rs, instead two crates are introduced which allow building the snapshot during build.rs. Rollup is removed and replaced with our own bundler. This removes the Node build dependency. Modules in //js now use Deno-style imports with file extensions, rather than Node style extensionless imports. This improves incremental build time when changes are made to //js files by about 40 seconds.
2019-06-03Refactor test infrastructure (#2432)Bartek IwaƄczuk
* use subclass of unittest.TestCase for all test cases * allow to run single test file (eg. python tools/integration_tests.py) * test filtering (via --pattern/-p CLI flag) * use common CLI parser for all tests: usage: test.py [-h] [--failfast] [--verbose] [--executable EXECUTABLE] [--release] [--pattern PATTERN] [--build-dir BUILD_DIR] optional arguments: -h, --help show this help message and exit --failfast, -f Stop on first failure --verbose, -v Verbose output --executable EXECUTABLE Use external executable of Deno --release Test against release executable --pattern PATTERN, -p PATTERN Run tests that match provided pattern --build-dir BUILD_DIR Deno build directory * respect NO_COLOR variable
2019-05-30chore: refactor python tests to use unittest (#2414)Andy Hayden
Move every test to a method on DenoTestCase. test.py is a single TestSuite of every TestCase. Add a Spawn context manager for http_server, this is explicitly used where it's needed. Each python test file can now be run independently without needing to manually run http_server. Add --help and consistent flags using argparse for each python test, including --failfast. Use ColorTextTestRunner so that '... ok' is green.
2019-04-17benchmarks: improve syscall and thread count (#2140)Ryan Dahl
2019-04-16Add max memory benchmark (#2061)Dmitry Sharshakov
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2018-10-19Add missing copyrights (#1024)ztplz
2018-09-26Expand binary size benchmark (#830)Kevin (Kun) "Kassimo" Qian
2018-09-26Revert "Expand binary size benchmark (#830)"Bert Belder
This reverts commit 8c7416b3f666c62327a2306e955ec59823b1f239.
2018-09-25Expand binary size benchmark (#830)Kevin (Kun) "Kassimo" Qian
2018-09-24Add syscall count benchmark for 002_hello.ts (#820)Kevin (Kun) "Kassimo" Qian
* 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-24Add thread count benchmark (#811)Kevin (Kun) "Kassimo" Qian