microsoft/GSL

Add performance tests to PR actions

开放

#1,167 创建于 2024年11月12日

 (10 条评论) (0 个反应) (0 位负责人)C++ (721 个派生)batch import
Effort: MediumHelp WantedPriority: LowStatus: OpenType: Infra

仓库指标

星标
 (5,695 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南