Gulp Bench总结在漂亮的表格视图中显示gulp-bench结果。设置项目的基准名称: gulp . task ( 'bench' , function ( ) { var bench = require ( 'gulp-bench' ) ; var summary = require ( 'gulp-bench-summary' ) ; return gulp . src ( './benchmark.js' , { read : false } ) . pipe ( bench ( ) ) . pipe ( summary ( 'PostCSS' ) ) ; } ) ;这个库将它与其他基准进行比较: [15:33:51] Starting 'bench'... [15:33:51] Runnin