mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
show hit rate to 2dp only
This commit is contained in:
@@ -38,7 +38,7 @@ class ASpellRunner
|
||||
for k, v of addToCache
|
||||
cache.set(k, v)
|
||||
|
||||
logger.log hits: hits, total: words.length, hitrate: hits/words.length, "cache hit rate"
|
||||
logger.log hits: hits, total: words.length, hitrate: (hits/words.length).toFixed(2), "cache hit rate"
|
||||
callback null, results
|
||||
|
||||
getSuggestions: (language, output) ->
|
||||
|
||||
Reference in New Issue
Block a user