GitXplorerGitXplorer
j

ember-bench

public
1 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
313de7658e2cfd313eb4826b1e7480856c125cd1

Update README.md

jjrowlingson committed 4 years ago
Verified
c586c69b7eed9602e3167115f341fc72e24e47cf

Update README.md

jjrowlingson committed 4 years ago
Verified
7ff3b8285ca392ade43b8847adcf2543223513f6

Update README.md

jjrowlingson committed 4 years ago
Verified
88282529c9ceedfab407542f90f2a60217909b00

Update README.md

jjrowlingson committed 4 years ago
Verified
6205278e4e7a609e2a8b596ede58e3fab0645742

Update README.md

jjrowlingson committed 4 years ago
Verified
f21bef83537fcf71fa48c57be5fd05db96aa30bd

Update README.md

jjrowlingson committed 4 years ago

README

The README file for this repository.

ember-bench

A simple tool for benchmarking various ember-cli commands.

Prerequisites

You will need the following things properly installed on your computer.

Installation

/bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/jrowlingson/ember-bench/master/install.sh)"

Usage

cd /path/to/your/ember-cli-project
ember-bench

Sample Output

After running:

% ember new test-bench && cd test-bench && yarn
% ember-bench

The following output is produced:

======================
 ember bench (0.0.1)
======================

git repo: test-bench
git branch: master
git commit: d15dc15
ember-cli: 3.20.0
node: 12.18.3
os: linux x64
cpu: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
cpu cores: 8
cpu threads: 8
mem: 16313584kB

1.a: ember --version (n=5)

        real    user    sys
        ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
        1.34    1.54    0.12
        1.29    1.52    0.11
        1.28    1.48    0.13
        1.30    1.56    0.09
        1.29    1.49    0.14
        ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
        1.30    1.51    .11

2.a: ember b (n=3, before_each: rm -rf node_modules dist && yarn)

        real    user    sys
        ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
        6.33    13.97   0.99
        3.58    4.20    0.33
        3.55    4.24    0.41
        ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
        4.48    7.47    .57

2.b: ember b (n=5, before_all: ember b)

        real    user    sys
        ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
        3.55    4.18    0.42
        3.54    4.24    0.37
        3.51    4.21    0.36
        3.53    4.06    0.39
        3.54    4.14    0.35
        ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
        3.53    4.16    .37

Options

  • --help|-h: print usage info
  • --version|-v: version info
  • --npm|-n: use npm (default yarn)

Notes

This tool currently assumes the usage of yarn. You may specify the --npm option to use npm instead.

Supports Linux and macOS.