{"id":14968120,"url":"https://github.com/postcss/benchmark","last_synced_at":"2025-04-11T03:40:44.425Z","repository":{"id":873349,"uuid":"35714482","full_name":"postcss/benchmark","owner":"postcss","description":"PostCSS benchmarks","archived":false,"fork":false,"pushed_at":"2024-06-25T21:32:06.000Z","size":1058,"stargazers_count":116,"open_issues_count":0,"forks_count":19,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-10-29T14:38:26.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/postcss/postcss","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/postcss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"postcss","tidelift":"npm/postcss","github":"ai"}},"created_at":"2015-05-16T07:36:10.000Z","updated_at":"2024-06-25T21:32:09.000Z","dependencies_parsed_at":"2023-01-13T10:44:44.485Z","dependency_job_id":"e9388011-c54e-4f1b-b54f-968c210113dc","html_url":"https://github.com/postcss/benchmark","commit_stats":{"total_commits":149,"total_committers":9,"mean_commits":"16.555555555555557","dds":0.2348993288590604,"last_synced_commit":"69f01b2312148cbbc90acc42270a68a0e8ea0252"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fbenchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fbenchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fbenchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fbenchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postcss","download_url":"https://codeload.github.com/postcss/benchmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247658386,"owners_count":20974509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:39:20.077Z","updated_at":"2025-04-11T03:40:44.405Z","avatar_url":"https://github.com/postcss.png","language":"JavaScript","readme":"# PostCSS Benchmarks\n\nVarious benchmarks to have feedback about [PostCSS] perfomance.\n\n---\n\n\u003cimg src=\"https://cdn.evilmartians.com/badges/logo-no-label.svg\" alt=\"\" width=\"22\" height=\"16\" /\u003e  Made at \u003cb\u003e\u003ca href=\"https://evilmartians.com/?utm_source=postcss\u0026utm_campaign=devtools-button\u0026utm_medium=github\"\u003eEvil Martians\u003c/a\u003e\u003c/b\u003e, product consulting for \u003cb\u003edeveloper tools\u003c/b\u003e.\n\n---\n\nAll results below was run on Node 20.3.1, Github Actions:\n\n[PostCSS]: https://github.com/postcss/postcss\n\n\n## Preprocessors\n\nCompare [CSS processors] for parsings, nested rules, mixins, variables and math:\n\n```\nPostCSS sync:   70 ms  (1.0 times faster)\nPostCSS:        72 ms\nLibSass sync:   118 ms (1.6 times slower)\nLibSass:        123 ms (1.7 times slower)\nLess:           139 ms (1.9 times slower)\nDart Sass sync: 219 ms (3.0 times slower)\nDart Sass:      397 ms (5.5 times slower)\n```\n\nTo get results on your environment:\n\n```sh\npnpm install\npnpm test preprocessors\n```\n\n[CSS processors]: https://github.com/postcss/benchmark/blob/main/preprocessors.js\n\n\n## Parsers\n\nCompare [CSS parsers] written on JS:\n\n```\nStylis:       15 ms  (1.8 times faster)\nCSSOM:        24 ms  (1.2 times faster)\nPostCSS:      28 ms\nCSSTree:      37 ms  (1.3 times slower)\nMensch:       37 ms  (1.3 times slower)\nRework:       49 ms  (1.8 times slower)\nStylecow:     73 ms  (2.6 times slower)\nPostCSS Full: 95 ms  (3.4 times slower)\nParserLib:    153 ms (5.5 times slower)\nGonzales:     177 ms (6.4 times slower)\n```\n\nTo get results on your environment:\n\n```sh\npnpm install\npnpm test parsers\n```\n\n[CSS parsers]: https://github.com/postcss/benchmark/blob/main/parsers.js\n\n\n## Prefixers\n\nCompare [vendor prefixes tools]:\n\n```\nLightning CSS: 12 ms   (7.7 times faster)\nStylis:        18 ms   (5.3 times faster)\nAutoprefixer:  96 ms\nStylecow:      1009 ms (10.5 times slower)\n```\n\nTo get results on your environment:\n\n```sh\npnpm install\npnpm test prefixers\n```\n\n[vendor prefixes tools]: https://github.com/postcss/benchmark/blob/main/prefixers.js\n","funding_links":["https://opencollective.com/postcss","https://tidelift.com/funding/github/npm/postcss","https://github.com/sponsors/ai"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostcss%2Fbenchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostcss%2Fbenchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostcss%2Fbenchmark/lists"}