source:
frontend/node_modules/performance-now/test/scripts/difference.coffee
| Last change on this file was 9af201e, checked in by , 13 days ago | |
|---|---|
|
|
| File size: 175 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 1 | #!/usr/bin/env ./node_modules/.bin/coffee |
| 2 | ||
| 3 | # Expected output is above 0.005 and below 0.07. | |
| 4 | ||
| 5 | now = require('../../lib/performance-now') | |
| 6 | console.log -(now() - now()).toFixed 3 |
Note:
See TracBrowser
for help on using the repository browser.
