Closed cnrdh closed 1 year ago
Without mem caching, the time penalty is ~2-3 seconds for readling just 1.2MB of data in ca. 1600 docs using kv.list: https://github.com/akvaplan-niva/dois/blob/9d3094f2b22e1c22fab08fe757b5b5ff6bf26c7e/deno/doi.js#L62
The following (grouped by year) runs in just ~150ms: https://dois.deno.dev/group/published/substring/0,4
Before: After:
Without mem caching, the time penalty is ~2-3 seconds for readling just 1.2MB of data in ca. 1600 docs using kv.list: https://github.com/akvaplan-niva/dois/blob/9d3094f2b22e1c22fab08fe757b5b5ff6bf26c7e/deno/doi.js#L62
The following (grouped by year) runs in just ~150ms: https://dois.deno.dev/group/published/substring/0,4