mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-20 18:21:55 +00:00
increase profiling cutoff to 1s
This commit is contained in:
parent
b6efb051e1
commit
e11f64f83a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ deltaMs = (ta, tb) ->
|
||||||
return Math.floor(((ta[0]-tb[0])*1e9 + (ta[1]-tb[1]))*1e-6)
|
return Math.floor(((ta[0]-tb[0])*1e9 + (ta[1]-tb[1]))*1e-6)
|
||||||
|
|
||||||
module.exports = class Profiler
|
module.exports = class Profiler
|
||||||
LOG_CUTOFF_TIME: 100
|
LOG_CUTOFF_TIME: 1000
|
||||||
|
|
||||||
constructor: (@name, @args) ->
|
constructor: (@name, @args) ->
|
||||||
@t0 = @t = process.hrtime()
|
@t0 = @t = process.hrtime()
|
||||||
|
|
Loading…
Reference in a new issue