前端之 —— node.js摸爬打滾之路(三)

學習使用 benchmark 庫:   1、創建並進入ventor,執行以下命令安裝benchmark庫: cnpm i -g benchmark 2、新建app.js文件,copy以下測試內容至app.js: var Benchmark = require('benchmark'); var suite = new Benchmark.Suite; var int1 = function(st
相關文章
相關標籤/搜索