Skip to content

Releases: google/tachometer

v0.5.2

08 Sep 21:01
0030606
Compare
Choose a tag to compare
  • Add advanced configuration for cloning a git repo as a dependency swap for
    monorepos and other git layouts where the package.json is not at the root.
  • Add support for name property to measurement config
  • Include measurement object for each benchmark in JSON results output
  • Fix errors with auto-installing WebDriver modules using Yarn
    (#186).

v0.5.1

19 Aug 23:17
a1c02b4
Compare
Choose a tag to compare
  • Fix Package "chromedriver" cannot be installed on demand and similar errors
    affecting Node versions 10 and below
    (#182).

v0.5.0

06 Aug 23:09
7f32079
Compare
Choose a tag to compare
  • Change WebDriver-related packages for Chrome, Firefox and IE to be installed
    on-demand. This saves a lot of time during the intial installation of the
    tachometer package. See the README for more details.

v0.4.21

23 Jul 22:40
88f9806
Compare
Choose a tag to compare
  • Add ability to specify multiple measurements from the same page load by
    setting the measurement property in the JSON config file to an array. For
    example, you can now use the performance API to define two intervals on the
    same page, and compare them to each other or to other pages.

  • Add ability to pull measurements from the browser performance measurement API,
    e.g.:

    "benchmarks": [
      {
        "measurement": {
          "mode": "performance",
          "entryName": "foo"
        }
      }
    ]
    
  • Add new syntax for specifying benchmarks:

    "benchmarks": [
      {
        "measurement": {
          "mode": "callback"
        }
      },
      {
        "measurement": {
          "mode": "expression",
          "expression": "window.tachometerResult"
        }
      }
    ]
    
  • Fix main entry in package.json to point to lib/cli.js.

  • Added more fields to JSON output file to more closely match table printed to the console

  • Fix default benchmark name on Windows to replace all \\ with /. For
    example, previously a benchmark name might have been
    "src/test\\data\\for-loop.html". With this fix, the benchmark name will now be
    "src/test/data/for-loop.html".

v0.4.20

10 Jul 00:32
546f445
Compare
Choose a tag to compare
  • Added --csv-file-raw flag, which outputs a CSV file containing all raw
    measurement results for each benchmark. Columns correspond to benchmarks, rows
    correspond to sample measurements in milliseconds. The first row is a header
    row containing the name of each benchmark.

  • Added samples property to the JSON file emitted by --json-file which
    contains all raw sample measurements in milliseconds.

v0.4.19

07 Jul 22:36
33e2b6f
Compare
Choose a tag to compare
  • Fix failures to launch recent versions of Firefox and Safari.
  • Remove unnecessary dependencies.