aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/benchmarks/makeDuration.js
blob: 9c2e8003f1c938565f7751f5475ea5cb0eb248f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
var Benchmark = require('benchmark'),
    moment = require('./../moment.js');

module.exports = {
  name: 'makeDuration',
  onComplete: function(){},
  fn: function(){
      moment.duration(5, 'years');
  },
  async: true
};