Skip to content

Commit ecdda8f

Browse files
committed
fix compile errors in benchmark scripts
1 parent 64ed139 commit ecdda8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/benchmark-from-msgpack-lite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if (msgpack_msgpack) {
7070
obj = bench('obj = /* @msgpack/msgpack */ decoder.decode(buf);', (buf) => decoder.decode(buf), buf);
7171
runTest(obj);
7272

73-
if (process.env.CACHE_HIT_RATE) {
73+
if (process.env["CACHE_HIT_RATE"]) {
7474
const {hit, miss} = decoder.keyDecoder;
7575
console.log(`CACHE_HIT_RATE: cache hit rate in CachedKeyDecoder: hit=${hit}, miss=${miss}, hit rate=${hit / (hit + miss)}`);
7676
}

0 commit comments

Comments
 (0)