Max Desiatov
|
21a2b78801
|
stdlib/benchmark: add canImport(Musl) where needed (#67120)
This allows compiling stdlib and benchmarks when targeting musl instead of Glibc.
|
2023-07-05 19:55:08 +01:00 |
|
Lucy Satheesan
|
32745c3c56
|
[benchmark] half Array.removeAll bench size
|
2023-05-23 21:10:11 -07:00 |
|
Lucy Satheesan
|
6a1129f68a
|
[benchmark] rename Array.removeAll benchmarks
|
2023-05-23 17:10:32 -07:00 |
|
Lucy Satheesan
|
008ed2fa95
|
[benchmark] clean up setup for ArrayRemoveAll
|
2023-05-23 14:14:14 -07:00 |
|
Lucy Satheesan
|
d489ba2740
|
[benchmark] check results only once in ArrayRemoveAll
|
2023-05-23 11:22:47 -07:00 |
|
Lucy Satheesan
|
51c62aee19
|
[benchmark] add removeAll(keepingCapacity: true) non-unique test
|
2023-05-23 11:05:59 -07:00 |
|
David Smith
|
4d3c75631e
|
Wow, even further I guess
|
2023-05-12 17:22:08 -07:00 |
|
David Smith
|
708c5c4381
|
Nah let's go a little lower
|
2023-05-12 16:31:08 -07:00 |
|
David Smith
|
92bba63159
|
Ok I think this should be right
|
2023-05-12 16:29:23 -07:00 |
|
David Smith
|
a63031c636
|
Scale benchmark down…
|
2023-05-12 15:39:12 -07:00 |
|
David Smith
|
b024a560ed
|
Fix thinko, thank you Nate!
|
2023-05-12 14:14:53 -07:00 |
|
David Smith
|
4f363f72f1
|
Try to thwart the optimizer
|
2023-05-10 10:55:37 -07:00 |
|
David Smith
|
d5d97ad26e
|
Further benchmark scaling
|
2023-05-10 02:31:03 -07:00 |
|
David Smith
|
0ddc90b355
|
Further benchmark scaling
|
2023-05-10 01:25:38 -07:00 |
|
David Smith
|
71ed988d27
|
Scale benchmarks
|
2023-05-09 16:29:56 -07:00 |
|
David Smith
|
7d234d76ea
|
More build fixes
|
2023-05-09 13:50:41 -07:00 |
|
David Smith
|
6cb9e5cfdd
|
Build fixes
|
2023-05-09 11:27:04 -07:00 |
|
David Smith
|
78e406c376
|
Add a few basic smoke test benchmarks for the default RangeReplaceableCollection append methods
|
2023-05-09 09:41:44 -07:00 |
|
Valeriy Van
|
e99a45b15b
|
Reduce loop coefficient to 200
|
2023-03-02 09:57:57 +02:00 |
|
Valeriy Van
|
b79e1d5c31
|
Rename benchmark to fit into 40 characters limit
|
2023-03-02 09:55:25 +02:00 |
|
Valeriy Van
|
d947e10dd2
|
Put back getString call inside benchmarking loop
|
2023-03-01 09:14:32 +02:00 |
|
Valeriy Van
|
e59a74dd41
|
Get rid of helper function
|
2023-02-28 11:35:32 +02:00 |
|
Valeriy Van
|
da5be81857
|
Get rid of function used only once
|
2023-02-28 11:35:32 +02:00 |
|
Valeriy Van
|
eaecec1d2d
|
Fix indentation
|
2023-02-28 11:35:32 +02:00 |
|
Valeriy Van
|
a1488d661a
|
Fix header comment
|
2023-02-28 11:35:32 +02:00 |
|
Valeriy Van
|
2573eb37b7
|
Reduce count of benchmarks to 4
|
2023-02-28 11:35:32 +02:00 |
|
Valeriy Van
|
157397aa19
|
Fix misspelled Cyrillic
|
2023-02-28 11:35:32 +02:00 |
|
Valeriy Van
|
f18d76f98a
|
Fix compile error in StringRepeating benchmark
|
2023-02-28 11:35:32 +02:00 |
|
Valeriy Van
|
542c88d964
|
Update copyright to year 2023
Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com>
|
2023-02-28 11:35:31 +02:00 |
|
Valeriy Van
|
dd22e6a43c
|
Removes slash from benchmrk name.
Slash in benchmark name makes benchmarks break.
|
2023-02-28 11:35:31 +02:00 |
|
Valeriy Van
|
bfb1e875af
|
Adds benchmark for String(repeating:count:)
|
2023-02-28 11:35:31 +02:00 |
|
eeckstein
|
9d5dd75314
|
Merge pull request #34435 from valeriyvan/StringDecodeUTF16Benchmark
Add benchmarks for UTF16 decoding
|
2023-02-23 18:02:44 +01:00 |
|
Valeriy Van
|
e0966d64ab
|
Add setUp func
|
2023-02-22 01:28:18 +02:00 |
|
Valeriy Van
|
bca183c505
|
Add test for 128 bytes buffer
|
2023-02-16 12:39:16 +02:00 |
|
Valeriy Van
|
a84516e152
|
Skip some benchmarks
|
2023-02-15 12:32:30 +02:00 |
|
Valeriy Van
|
daf2e5dac8
|
Move setup out of benchmark functions
|
2023-02-14 20:56:33 +02:00 |
|
Valeriy Van
|
4682d1e6c2
|
Reduce benchmark execution time
|
2023-02-14 16:43:51 +02:00 |
|
Valeriy Van
|
66f5634a5f
|
Rename test to follow convension
|
2023-02-14 16:21:42 +02:00 |
|
Valeriy Van
|
71e8288757
|
Fix compile error in benchmark/single-source/UTF16Decode.swift
|
2023-02-14 12:50:07 +02:00 |
|
Valeriy Van
|
5daec4f9fc
|
Apply suggestions from code review
Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com>
|
2023-02-14 12:04:30 +02:00 |
|
Valeriy Van
|
fa6c038c92
|
Adds benchmarks for UTF16 decoding
|
2023-02-14 12:04:29 +02:00 |
|
Guillaume Lessard
|
183fc28b72
|
[benchmark] change a buffer length
- the intermediate length (15 bytes) didn’t show results significantly different from those produced by the short length benchmark (7 bytes).
|
2023-02-07 16:12:31 -08:00 |
|
swift-ci
|
afe43a4699
|
Merge pull request #63106 from valeriyvan/Benchmark-UnsafeRawBufferPointer-first
[benchmark] Add benchmark for UnsafeMutableRawBufferPointer firstIndex(of:) and lastIndex(of:)
|
2023-01-31 21:34:52 -08:00 |
|
Valeriy Van
|
93c9a646a5
|
Leave only tests for buffer of length 7, 15 and 1000 bytes; Increase multiplier from 10 to 10000
|
2023-01-29 14:58:34 +02:00 |
|
Valeriy Van
|
136baafa50
|
Add benchmark for UnsafeMutableRawBufferPointer firstIndex(of:) and lastIndex(of:)
|
2023-01-19 18:34:14 +02:00 |
|
Valeriy Van
|
a5b1082ba3
|
Suppress warnings in benchmark
warning: heterogeneous collection literal could only be inferred to '[Any]'; add explicit type annotation if this is intentional
|
2023-01-18 21:28:29 +02:00 |
|
Valeriy Van
|
12719bc896
|
Fix warning in benchmark
warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
|
2023-01-18 21:24:52 +02:00 |
|
Valeriy Van
|
37470915f5
|
Fix warnings in benchmarks
warning: tuple conversion from '(offset: Int, element: S.Element)' to '(index: Int, elem: S.Element)' mismatches labels
|
2023-01-18 21:23:16 +02:00 |
|
Karoy Lorentey
|
f56d44a492
|
[benchmark] Add a basic benchmark for Unicode._CharacterRecognizer
This measures the performance of the stdlib’s core grapheme breaking algorithm, without any `String` overhead.
|
2023-01-15 16:10:43 -08:00 |
|
Karoy Lorentey
|
114d392540
|
[benchmark] StringDistance: Increase ASCII workload by an additional 10x
|
2022-12-29 17:15:49 -08:00 |
|