Skip to content

project mew: A microbenchmarking CLI for Python #2195

Open

Description

@nicholasjng

This isn't a bug report, but rather a "Show and Tell" type discussion.

I spent a few hours in the past two weeks and came up with a new set of Python bindings for Google Benchmark. The repo lives at https://github.com/nicholasjng/mew, and is open-source.

Aside from feedback on the UX, which I always appreciate, there are (in my opinion) some parts that could be useful for GBM's own Python bindings, specifically the new PausedTimingScope RAII class binding as a context manager. Happy to hear your thoughts!


AI disclosure: I used AI to plan and implement parts of the project.

Activity

  1. dmah42 commented on May 22, 2026

    @dmah42
    Member

    it looks very clean. is there a passive request that we stop developing the bindings in this project and forward folks to mew for python use-cases? or do you rely on the python bindings in this repo?

  2. nicholasjng commented on May 22, 2026

    @nicholasjng
    ContributorAuthor

    @dmah42 not from me, I'm not sure who depends on the GBM bindings.

    I'm happy to upstream any parts you find useful, just let me know.

  3. nicholasjng commented on Aug 10, 2026

    @nicholasjng
    ContributorAuthor

    Quick update, the project is now available on PyPI as mew-bench. After some considerations, I decided to eliminate external dependencies entirely, so the package+CLI is stdlib-only on top of the binding core, and comes out to a ~200KB wheel download per platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions