aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/benchmarks/fromDateUtc.js
blob: 37d1a71015df2c96504ec60094c2fa785875c055 (plain) (blame)
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
};