mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 06:13:34 -05:00
show hit rate to 2dp only
This commit is contained in:
parent
b684ed0837
commit
ed33cd59b7
1 changed files with 1 additions and 1 deletions
|
@ -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) ->
|
||||
|
|
Loading…
Reference in a new issue