microsoft/GSL

Add performance tests to PR actions

オープン

#1,167 opened on 2024/11/12

 (10 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (721 件のフォーク)batch import
Effort: MediumHelp WantedPriority: LowStatus: OpenType: Infra

Repository metrics

Stars
 (5,695 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド