We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ed139 commit ecdda8fCopy full SHA for ecdda8f
benchmark/benchmark-from-msgpack-lite.ts
@@ -70,7 +70,7 @@ if (msgpack_msgpack) {
70
obj = bench('obj = /* @msgpack/msgpack */ decoder.decode(buf);', (buf) => decoder.decode(buf), buf);
71
runTest(obj);
72
73
- if (process.env.CACHE_HIT_RATE) {
+ if (process.env["CACHE_HIT_RATE"]) {
74
const {hit, miss} = decoder.keyDecoder;
75
console.log(`CACHE_HIT_RATE: cache hit rate in CachedKeyDecoder: hit=${hit}, miss=${miss}, hit rate=${hit / (hit + miss)}`);
76
}
0 commit comments