microsoft/GSL

Add performance tests to PR actions

Open

#1.167 aberto em 12 de nov. de 2024

Ver no GitHub
 (10 comments) (0 reactions) (0 assignees)C++ (721 forks)batch import
Effort: MediumHelp WantedPriority: LowStatus: OpenType: Infra

Métricas do repositório

Stars
 (5.695 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (1 fundiu PR em 30d)

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

Guia do colaborador