Skip to content

In-browser benchmarks comparing @dash-ui to other popular CSS-in-JS libraries

Notifications You must be signed in to change notification settings

dash-ui/benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

benchmarks

To run the benchmarks:

yarn build
open dist/index.html

Notes

These benchmarks are approximations of extreme cases that libraries may encounter. Their purpose is to provide an early-warning signal for performance regressions. Each test report includes the mean and standard deviation of the timings, and approximations of the time spent in scripting (S) and layout (L).

The components used in the render benchmarks are simple enough to be implemented by multiple UI or style libraries. The benchmark implementations and the features of the style libraries are only approximately equivalent in functionality.

No benchmark will run for more than 20 seconds.

Mount deep/wide tree

These cases look at the performance of mounting and rendering large trees of elements that use static styles.

Update dynamic styles

This case looks at the performance of repeated style updates to a large mounted tree. Some libraries choose to inject new styles for each "dynamic style", whereas others choose to use inline styles. Libraries without built-in support for dynamic styles (i.e., they rely on user-authored inline styles) are not included.

About

In-browser benchmarks comparing @dash-ui to other popular CSS-in-JS libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages