/bem-priv-class

bem-class for bemjson create. Deprecated. Moved to https://github.com/sbmaxx/bem-priv/tree/develop/packages/bem-priv-class

Primary LanguageTypeScript

bem-priv-class

Class for declare block

Benchmark Compare with BEMPRIV (https://github.com/sbmaxx/bem-priv)

node ./benchmark/real
BEMPRIV x 36,453 ops/sec ±1.98% (90 runs sampled)
BEM-PRIV-Class x 80,470 ops/sec ±2.71% (89 runs sampled)
Plain Function x 40,675 ops/sec ±1.63% (89 runs sampled)
Plain Object: 41,385 ops/sec ±1.61% (90 runs sampled)
Fastest is BEM-PRIV-Class