parse-community / benchmark
Showing 2 of 7 files from the diff.
Other files ignored by Codecov
package.json has changed.
servers/mongo.js has changed.
servers/pg.js has changed.
README.md has changed.

@@ -11,5 +11,6 @@
Loading
11 11
  SERVER_URL: process.env.PARSE_SERVER_URL || `http://localhost:${PORT}`,
12 12
  DATABASE_URL: process.env.DATABASE_URL || 'postgres://localhost:5432/parse_benchmark',
13 13
  MONGODB_URI: process.env.MONGODB_URI || 'mongodb://localhost:27017/parse_benchmark',
14 +
  COLLECTION_PREFIX: process.env.COLLECTION_PREFIX || 'test_',
14 15
  VERBOSE: process.env.VERBOSE || false,
15 16
};

@@ -5,7 +5,6 @@
Loading
5 5
const path = require('path');
6 6
const pidusage = require('pidusage');
7 7
const { saveToFile, cliTable, buildOptions } = require('./utils');
8 -
const { TestUtils } = require('parse-server');
9 8
const { fork } = require('child_process');
10 9
const { run } = require('./http-benchmark');
11 10
@@ -28,9 +27,6 @@
Loading
28 27
            spinner.color = 'yellow';
29 28
            spinner.text = `Working ${testName}`;
30 29
31 -
            if (process.env.CLEAR) {
32 -
              await TestUtils.destroyAllDataPermanently();
33 -
            }
34 30
            const result = await run(buildOptions(opts, requests));
35 31
            const usage = await pidusage(serverProcess.pid);
36 32
@@ -50,7 +46,7 @@
Loading
50 46
        console.error("Could not start server process. Call process.send('message', { start: true })");
51 47
      }
52 48
    });
53 -
    serverProcess.on('close', async () => {
49 +
    serverProcess.on('close', () => {
54 50
      resolve(results);
55 51
    });
56 52
  });
Files Coverage
benchmarks 100.00%
src 100.00%
Project Totals (8 files) 100.00%
62.1
TRAVIS_NODE_VERSION=10.14
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading