Skip to content

Instantly share code, notes, and snippets.

@bramus
Created October 3, 2024 22:47
Show Gist options
  • Save bramus/a1f7be0cb2e8ccf1dcb04ad33ce097ad to your computer and use it in GitHub Desktop.
Save bramus/a1f7be0cb2e8ccf1dcb04ad33ce097ad to your computer and use it in GitHub Desktop.
`npm run benchmark at-rule/at-property` results (https://github.com/GoogleChromeLabs/css-selector-benchmark)
{
description: 'Regular Property that does not inherit',
result: 295278.9002767051
}
{
description: 'Regular Property that does inherit (color)',
result: 278.9483553463621
}
{
description: 'Regular Property that does inherit (direction)',
result: 161.67304927383134
}
{
description: 'Regular Property that does inherit (mix-blend-mode)',
result: 279924.6664517665
}
{
description: 'Regular Property that does inherit (overscroll-behavior-y)',
result: 307547.09502574446
}
{
description: 'Regular Property that does inherit (pointer-events)',
result: 261.2647028272913
}
{
description: 'Regular Property that does inherit (scrollbar-color)',
result: 1648656.8793367622
}
{
description: 'Regular Property that does inherit (color-scheme)',
result: 158.56121233795676
}
{
description: 'Regular Property that does inherit (text-rendering)',
result: 163.05501248075265
}
{
description: 'Regular Property that does inherit (cursor)',
result: 169.36581313013863
}
{
description: 'Regular Property that does inherit (speak)',
result: 160.66881467325499
}
{
description: 'Regular Property that does inherit (accent-color)',
result: 161.04187497442666
}
{
description: 'Unregistered Custom Property',
result: 255.65255315508006
}
{
description: 'Registered Custom Property that inherits',
result: 249.99881742663084
}
{
description: 'Registered Custom Property that does not inherit',
result: 204996.1938408081
}
{
description: 'Registered Custom Property that does not inherit with 25000 other registered custom props',
result: 210589.39073948888
}
{
description: 'Regular Property that does not inherit',
result: 12531.495703810124
}
{
description: 'Regular Property that does inherit (color)',
result: 214.37954723998578
}
{
description: 'Regular Property that does inherit (direction)',
result: 108.04321255577008
}
{
description: 'Regular Property that does inherit (mix-blend-mode)',
result: 12991.942551560223
}
{
description: 'Regular Property that does inherit (overscroll-behavior-y)',
result: 12958.937250121486
}
{
description: 'Regular Property that does inherit (pointer-events)',
result: 204.84379099431484
}
{
description: 'Regular Property that does inherit (scrollbar-color)',
result: 1443070.3950008177
}
{
description: 'Regular Property that does inherit (color-scheme)',
result: 215.1840638354479
}
{
description: 'Regular Property that does inherit (text-rendering)',
result: 202.0287168453384
}
{
description: 'Regular Property that does inherit (cursor)',
result: 214.92231721530283
}
{
description: 'Regular Property that does inherit (speak)',
result: 3054024.4656304033
}
{
description: 'Regular Property that does inherit (accent-color)',
result: 211.2420361238183
}
{
description: 'Unregistered Custom Property',
result: 217.74680748260994
}
{
description: 'Registered Custom Property that inherits',
result: 216.85032313740385
}
{
description: 'Registered Custom Property that does not inherit',
result: 125348.32707978268
}
{
description: 'Registered Custom Property that does not inherit with 25000 other registered custom props',
result: 152847.0852181195
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment