From f7a6beb4ad799d76539ae28449ffe911792e4cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Mon, 25 Oct 2021 11:32:34 +0200 Subject: [PATCH] linting --- benchmarks/profiler.js | 1 - test/browser/load.spec.js | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/benchmarks/profiler.js b/benchmarks/profiler.js index 184aed2..a5d73af 100644 --- a/benchmarks/profiler.js +++ b/benchmarks/profiler.js @@ -1,4 +1,3 @@ -const { apply, waterfall } = require('../test/utils.test.js') const util = require('util') function formatTime (time, precision) { diff --git a/test/browser/load.spec.js b/test/browser/load.spec.js index b2a6b39..194f2b2 100755 --- a/test/browser/load.spec.js +++ b/test/browser/load.spec.js @@ -72,7 +72,7 @@ describe.skip('Load tests', function () { db.remove({}, { multi: true }, err => done(err)) }) - it('Inserts', function (done) { + it.skip('Inserts', function (done) { testUtils.waterfall([ // Slow and gets slower with database size testUtils.apply(someInserts, '#1', N), // N=5000, 141s @@ -82,7 +82,7 @@ describe.skip('Load tests', function () { ], done) }) - it('Localstorage', function (done) { + it.skip('Localstorage', function (done) { testUtils.waterfall([ // Slow and gets slower really fast with database size, then outright crashes testUtils.apply(someLS, '#1', N), // N=4000, 2.5s @@ -92,7 +92,7 @@ describe.skip('Load tests', function () { ], done) }) - it('Localstorage Diff', function (done) { + it.skip('Localstorage Diff', function (done) { testUtils.waterfall([ // Much faster and more consistent testUtils.apply(someLSDiff, '#1', N), // N=50000, 0.7s @@ -102,7 +102,7 @@ describe.skip('Load tests', function () { ], done) }) - it('LocalForage', function (done) { + it.skip('LocalForage', function (done) { testUtils.waterfall([ // Slow and gets slower with database size cb => { localforage.setItem('loadTestLF', '', err => cb(err)) }, @@ -113,7 +113,7 @@ describe.skip('Load tests', function () { ], done) }) - it('LocalForage diff', function (done) { + it.skip('LocalForage diff', function (done) { testUtils.waterfall([ // Quite fast and speed doesn't change with database size (tested with N=10000 and N=50000, still no slow-down) testUtils.apply(someLFDiff, '#1', N), // N=5000, 18s