diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-07-20 16:25:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 16:25:36 +0200 |
commit | d744c0c6d9a557bbaa2a23571ffb3acabf19c35a (patch) | |
tree | 6f7fb8a71b786e79c48f4b2c11a5a9ca988717e8 /docs/contributing/development_tools.md | |
parent | 9b9becf1ae256b645e37a7eecf3441f3ae4b8ea5 (diff) |
chore: move docs to separate repository
Diffstat (limited to 'docs/contributing/development_tools.md')
-rw-r--r-- | docs/contributing/development_tools.md | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/docs/contributing/development_tools.md b/docs/contributing/development_tools.md deleted file mode 100644 index 505928467..000000000 --- a/docs/contributing/development_tools.md +++ /dev/null @@ -1,69 +0,0 @@ -## Testing and Tools - -### Tests - -Test `deno`: - -```shell -# Run the whole suite: -cargo test - -# Only test cli/tests/unit/: -cargo test js_unit_tests -``` - -Test `std/`: - -```shell -cargo test std_tests -``` - -### Lint and format - -Lint the code: - -```shell -deno run -A --unstable ./tools/lint.js -``` - -Format the code: - -```shell -deno run -A --unstable ./tools/format.js -``` - -### Continuous Benchmarks - -See our benchmarks [over here](https://deno.land/benchmarks) - -The benchmark chart supposes -https://github.com/denoland/benchmark_data/blob/gh-pages/data.json has the type -`BenchmarkData[]` where `BenchmarkData` is defined like the below: - -```ts -interface ExecTimeData { - mean: number; - stddev: number; - user: number; - system: number; - min: number; - max: number; -} - -interface BenchmarkData { - created_at: string; - sha1: string; - benchmark: { - [key: string]: ExecTimeData; - }; - binarySizeData: { - [key: string]: number; - }; - threadCountData: { - [key: string]: number; - }; - syscallCountData: { - [key: string]: number; - }; -} -``` |