diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-05-10 07:30:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-10 07:30:19 +0200 |
| commit | f3f9f0c5e6e0b6d0424c8b215d9a13c105b066e7 (patch) | |
| tree | 394817250e85cedd561e367f6d4ed7e29e980153 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | a6e87c546dd806b2f8eb7bb314defc56dc190e4d (diff) | |
| parent | 5fe296c6c5f2724b17ae9ce06feefdc52e694815 (diff) | |
| download | rust-f3f9f0c5e6e0b6d0424c8b215d9a13c105b066e7.tar.gz rust-f3f9f0c5e6e0b6d0424c8b215d9a13c105b066e7.zip | |
Rollup merge of #124551 - Swatinem:debug-str-bench, r=cuviper
Add benchmarks for `impl Debug for str` In order to inform future perf improvements and prevent regressions, lets add some benchmarks that stress `impl Debug for str`. --- As I am currently working on improving the perf in https://github.com/rust-lang/rust/pull/121150, its nice to have these benchmarks. Writing them, I also saw that escapes are written out one char at a time, even though other parts of the code are already optimizing that via `as_str`, which I intend to do as well as a followup improvement. r? ``@cuviper`` ☝🏻 as you were also assigned to https://github.com/rust-lang/rust/pull/121150, CC ``@the8472`` if you want to steal the review :-)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
