You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
362 B

  1. #!/usr/bin/env ./node_modules/.bin/coffee
  2. ###
  3. Expected output is a number above 350 and below 600.
  4. The time reported is relative to the time the node.js process was started
  5. this is approximately at `(Date.now() process.uptime() * 1000)`
  6. ###
  7. delay = require "call-delayed"
  8. delay 250, ->
  9. now = require "../../lib/performance-now"
  10. console.log now().toFixed 3