microsoft/GSL

Add performance tests to PR actions

Open

#1,167 建立於 2024年11月12日

在 GitHub 查看
 (10 留言) (0 反應) (0 負責人)C++ (721 fork)batch import
Effort: MediumHelp WantedPriority: LowStatus: OpenType: Infra

倉庫指標

Star
 (5,695 star)
PR 合併指標
 (平均合併 8天) (30 天內合併 1 個 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

貢獻者指南