mirror of
https://github.com/musix-org/musix-oss
synced 2026-10-15 07:53:44 +00:00
fix
This commit is contained in:
1 parent
cbdffcf19c
commit
5eb0264906
2502 files changed
+360854
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
#!/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"
|
||||
now = require "../../lib/performance-now"
|
||||
delay 250, -> console.log now().toFixed 3
|
||||
+12
@@ -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
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env ./node_modules/.bin/coffee
|
||||
|
||||
# Expected output is above 0.005 and below 0.07.
|
||||
|
||||
now = require('../../lib/performance-now')
|
||||
console.log -(now() - now()).toFixed 3
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env ./node_modules/.bin/coffee
|
||||
|
||||
###
|
||||
Expected output is a number above 100 and below 350.
|
||||
The time reported is relative to the time the node.js process was started
|
||||
this is approximately at `(Date.now() process.uptime() * 1000)`
|
||||
###
|
||||
|
||||
now = require '../../lib/performance-now'
|
||||
console.log now().toFixed 3
|
||||
Reference in new issue
Block a user