0.7.5 • Published 2 years ago

@storybook/bench v0.7.5

Weekly downloads
66
License
MIT
Repository
-
Last release
2 years ago

Storybook Bench

A benchmark for Storybook. Usage:

sb-bench 'npx sb init'

This will:

  • Install storybook using sb init (or whatever command is provided)
    • Measure install time and size
  • Start
    • Measure build time
    • Measure page load time
  • Build
    • Measure build time
  • Browse
    • Measure page load time
    • Measure bundle sizes

It outputs all results to the files bench.csv and bench.json.

Flags

It also accepts the following flags:

optiondescription
--label Save as .csv/json and upload with if SB_BENCH_UPLOAD is true

Environment variables

And consumes the following environment variables:

variabledescription
SB_BENCH_UPLOADUpload results to GCP if set to tue
GCP_CREDENTIALSFor upload, the GCP credentials to use as stringified JSON
CIRCLE_BRANCHFor upload, the branch if running in Circle CI
CIRCLE_SHA1For upload, the commit hash if running in Circle CI
1.0.0-next.4

3 years ago

1.0.0-next.5

2 years ago

1.0.0-next.6

2 years ago

1.0.0-next.0

3 years ago

1.0.0-next.1

3 years ago

1.0.0-next.2

3 years ago

1.0.0-next.3

3 years ago

0.7.5

3 years ago

0.7.4

3 years ago

0.7.2

3 years ago

0.7.1

3 years ago

0.7.3

3 years ago

0.7.0

3 years ago

0.6.7

4 years ago

0.6.6

4 years ago

0.6.5

4 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.0

5 years ago

0.3.1

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.1

5 years ago

0.2.2

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago