aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.benchmark.json
diff options
context:
space:
mode:
authorUri Shaked2019-12-01 23:18:22 +0200
committerUri Shaked2019-12-01 23:18:34 +0200
commit27ea13401dfa443243d588c5636c85e1037b986d (patch)
tree77c4c63c8962bc9b066aa2307a156d25f1128f41 /tsconfig.benchmark.json
parentfeat: add benchmarking code (diff)
downloadavr8js-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 'tsconfig.benchmark.json')
-rw-r--r--tsconfig.benchmark.json5
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"]
}