{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"},{"label":"Benchmark","url":"https://skillfed.io/packages/category/system-benchmark"}],"enrichment":{"capability":"Provides Python bindings to Google's C++ benchmarking library, allowing you to measure and compare the performance of code snippets with statistical rigor.","skillfed_tags":["performance-testing","benchmarking","profiling"],"use_cases":["Measure and compare performance of different algorithm implementations to choose the fastest one","Track performance regressions in CI/CD pipelines by benchmarking code before and after changes","Profile hot paths in Python applications to identify optimization targets","Generate reproducible performance reports for code review and documentation","Validate that optimizations actually improve performance with statistical confidence"],"what_it_does":"google-benchmark is a Python wrapper around Google's C++ benchmarking library, designed to measure and compare the performance of code snippets with statistical rigor. Unlike simple timing, it runs code multiple times under controlled conditions to produce reliable performance metrics. The library is modeled after unit-testing frameworks, so if you've used pytest or similar tools, the structure will feel familiar.\n\nYou define benchmark functions, register them with decorators or macros, and run them to get detailed timing statistics. It has no runtime dependencies beyond Python itself, making it lightweight to deploy. The package supports Python 3.10 through 3.13 and is actively maintained; precompiled wheels are available for common platforms (macOS, Linux, Windows across x86_64 and ARM architectures).","worth_installing":"Yes, if you need rigorous performance measurement. The library is actively maintained, has no runtime dependencies, and Apache-2.0 licensing poses no restrictions. Medium install friction is acceptable for a compiled package with broad platform support. Best suited for developers who want statistical benchmarking beyond simple timing\u2014if you only need quick profiling, lighter tools may suffice."},"id":"google-benchmark","links":{"html":"https://skillfed.io/packages/google-benchmark","md":"https://skillfed.io/packages/google-benchmark.md","pypi":"https://pypi.org/project/google-benchmark/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-02","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"google-benchmark","python_support":"supports_current","summary":"A library to benchmark code snippets."},"popularity":{"monthly_downloads":75335,"position":14726,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.5"}
