microsoft/GSL

Add performance tests to PR actions

Open

#1 167 ouverte le 12 nov. 2024

Voir sur GitHub
 (10 commentaires) (0 réactions) (0 assignés)C++ (721 forks)batch import
Effort: MediumHelp WantedPriority: LowStatus: OpenType: Infra

Métriques du dépôt

Stars
 (5 695 stars)
Métriques de merge PR
 (Merge moyen 8j) (1 PR mergée en 30 j)

Description

It is important to maintain performance parity to std::span (at the very least when Safe Buffers are enabled). In order to track this, we should have performance tests between std::span and gsl::span for the latest standard library implementation across Clang, GCC, and MSVC.

@galenelias put together small benchmark comparing the two implementations on various workloads. They have been attached for convenience and provide a good starting point.

span_bench.zip

Guide contributeur