mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 18:09:49 +02:00
add benchmarks, update benchmark reporting
This commit is contained in:
@@ -12,8 +12,8 @@ const categories = fs.readdirSync(categoryDir).filter(c => c[0] != '.' && c != '
|
||||
|
||||
categories.forEach((category) => {
|
||||
suite(category, () => {
|
||||
set('iterations', 100)
|
||||
set('mintime', 2000)
|
||||
set('iterations', 50)
|
||||
set('mintime', 1000)
|
||||
|
||||
const benchmarkDir = resolve(categoryDir, category)
|
||||
const benchmarks = fs.readdirSync(benchmarkDir).filter(b => b[0] != '.' && !!~b.indexOf('.js')).map(b => basename(b, extname(b)))
|
||||
|
Reference in New Issue
Block a user