diff options
| author | Uri Shaked | 2019-12-01 23:18:22 +0200 |
|---|---|---|
| committer | Uri Shaked | 2019-12-01 23:18:34 +0200 |
| commit | 27ea13401dfa443243d588c5636c85e1037b986d (patch) | |
| tree | 77c4c63c8962bc9b066aa2307a156d25f1128f41 /tsconfig.benchmark.json | |
| parent | feat: add benchmarking code (diff) | |
| download | avr8js-27ea13401dfa443243d588c5636c85e1037b986d.tar.gz avr8js-27ea13401dfa443243d588c5636c85e1037b986d.tar.bz2 avr8js-27ea13401dfa443243d588c5636c85e1037b986d.zip | |
feat: improve benchmark code
compare 3 alternatives:
1. Current avrInstruction() implementation
2. Map opcodes using a Javascript map
3. Map opcodes using a Uint16Array and big switch statement
Diffstat (limited to '')
| -rw-r--r-- | tsconfig.benchmark.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tsconfig.benchmark.json b/tsconfig.benchmark.json index 608b618..79f519c 100644 --- a/tsconfig.benchmark.json +++ b/tsconfig.benchmark.json @@ -1,5 +1,8 @@ { "extends": "./tsconfig.json", - "compilerOptions": { "rootDir": "." }, + "compilerOptions": { + "rootDir": ".", + "target": "es2018" + }, "include": ["src/**/*.ts", "benchmark/**/*.ts"] } |
