Nodejs时间跨度软件 timespans

码农软件 · 软件分类 · Node.js 扩展 · 2019-04-16 07:43:00

软件介绍

timespans 是对 Nodejs实现的时间跨度类库,使用方法很简单,如下:

Install

npm install timespans

Usage1

var tw = require('timespans'); tw.start(); var t = 1.0; for(var i=1;i<10000000;i++){  t += i; } tw.stop(); console.log('总时间:%s 暂停时间:%s 使用时间:%s ', tw.elapsedtime(), tw.pausetime(), tw.usedtime());

 

Result

总时间:20ms 暂停时间:0ms 使用时间:20ms

本文地址:https://codercto.com/soft/d/3683.html

Designing for Emotion

Designing for Emotion

Aarron Walter / Happy Cog / 2011-10-18 / USD 18.00

Make your users fall in love with your site via the precepts packed into this brief, charming book by MailChimp user experience design lead Aarron Walter. From classic psychology to case studies, high......一起来看看 《Designing for Emotion》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具