Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Different memoization techniques in Yari yarn build
Map 10,000
Built 11,599 pages in 7.6 minutes, at a rate of 25.4 documents per second.
Peak heap memory usage: 2.57 GB
22482 DISTINCT KEYS
34190 COLD HITS
FAILURES: 1.5x
Map 5,000
Built 11,599 pages in 7.6 minutes, at a rate of 25.4 documents per second.
Peak heap memory usage: 2.61 GB
22482 DISTINCT KEYS
50841 COLD HITS
FAILURES: 2.3x
Map 1,000
Built 11,599 pages in 7.8 minutes, at a rate of 24.9 documents per second.
Peak heap memory usage: 2.59 GB
22482 DISTINCT KEYS
78521 COLD HITS
FAILURES: 3.5x
LRU 10,000
Built 11,599 pages in 7.6 minutes, at a rate of 25.3 documents per second.
Peak heap memory usage: 2.58 GB
22482 DISTINCT KEYS
29233 COLD HITS
FAILURES: 1.3x
LRU 5,000
Built 11,599 pages in 7.5 minutes, at a rate of 25.7 documents per second.
Peak heap memory usage: 2.57 GB
22482 DISTINCT KEYS
41069 COLD HITS
FAILURES: 1.8x
LRU 1,000
Built 11,599 pages in 7.6 minutes, at a rate of 25.3 documents per second.
Peak heap memory usage: 2.57 GB
22482 DISTINCT KEYS
61817 COLD HITS
FAILURES: 2.7x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment