Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
358 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | #!/usr/bin/env ./node_modules/.bin/coffee
|
---|
| 2 |
|
---|
| 3 | ###
|
---|
| 4 | Expected output is a number above 350 and below 600.
|
---|
| 5 | The time reported is relative to the time the node.js process was started
|
---|
| 6 | this is approximately at `(Date.now() process.uptime() * 1000)`
|
---|
| 7 | ###
|
---|
| 8 |
|
---|
| 9 | delay = require "call-delayed"
|
---|
| 10 | now = require "../../lib/performance-now"
|
---|
| 11 | delay 250, -> console.log now().toFixed 3
|
---|
Note:
See
TracBrowser
for help on using the repository browser.