commit
This commit is contained in:
parent
70e2f7a8aa
commit
008d2f30d7
675 changed files with 189892 additions and 0 deletions
12
node_modules/performance-now/test/scripts/delayed-require.coffee
generated
vendored
Normal file
12
node_modules/performance-now/test/scripts/delayed-require.coffee
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env ./node_modules/.bin/coffee
|
||||
|
||||
###
|
||||
Expected output is a number above 350 and below 600.
|
||||
The time reported is relative to the time the node.js process was started
|
||||
this is approximately at `(Date.now() process.uptime() * 1000)`
|
||||
###
|
||||
|
||||
delay = require "call-delayed"
|
||||
delay 250, ->
|
||||
now = require "../../lib/performance-now"
|
||||
console.log now().toFixed 3
|
Loading…
Add table
Add a link
Reference in a new issue