Skip to content

Consider benchmarking real-world scenarios #151

Open
@ldionne

Description

@ldionne

Forking #124 to discuss real-world examples more precisely. The idea is that in addition to the microbenchmarks we're already providing (and which should be made more precise by #148), we could also benchmark implementations of real-world scenarios. This would give an idea of the actual time taken by each library for each scenario, which might be useful for end-users (but probably less for TMP library developers). Some ideas:

  • implementing common_type
  • parsing raw literals

First, we should determine whether such benchmarks would be relevant, and what their target audience would be. Secondly, we should weight the value of such benchmarks with the difficulty of implementing and maintaining them. Finally, if we decide to provide such benchmarks, I believe we should also have a way to present the source code for these solutions (perhaps as suggested in #118), since that would allow end-users to balance the expressiveness of the library with its compile-time performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions