/
githubmirror
/
moment
Обзор
Документация
Войти
/
githubmirror
/
moment
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
benchmarks/makeDuration.js
11 строк
225 B
Brian Wyant
perf: add duration benchmark, cleanup benchmarking output
13 июл 2015, 03:00
13 июл 2015, 03:00
fe43941
Код
Авторство
О чём код?
var Benchmark = require('benchmark'), moment = require('./../moment.js'); module.exports = { name: 'makeDuration', onComplete: function(){}, fn: function(){ moment.duration(5, 'years'); }, async: true };