1 2 3 4 5 6 7 8 9 10 11 12
var Benchmark = require('benchmark'), moment = require('./../moment.js'), base = new Date(); module.exports = { name: 'fromDateUtc', onComplete: function(){}, fn: function(){ moment.utc(base); }, async: true };