0.7.5 • Published 10 months ago

@storybook/bench v0.7.5

Weekly downloads
66
License
MIT
Repository
-
Last release
10 months 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

1 year ago

1.0.0-next.5

1 year ago

1.0.0-next.6

1 year ago

1.0.0-next.0

1 year ago

1.0.0-next.1

1 year ago

1.0.0-next.2

1 year ago

1.0.0-next.3

1 year ago

0.7.5

2 years ago

0.7.4

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.3

2 years ago

0.7.0

2 years ago

0.6.7

2 years ago

0.6.6

2 years ago

0.6.5

2 years ago

0.6.4

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.1

3 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.0

4 years ago

0.3.1

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.1

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago