Commit Graph

27 Commits

Author SHA1 Message Date
eeckstein
22536978c2 Merge pull request #82600 from valeriyvan/WarningObjectiveCBridging
Fix unused var warning in benchmark
2025-07-01 22:49:18 +02:00
Valeriy Van
b0f46de8b1 Fix unused var warning in benchmark 2025-06-28 17:48:46 +03:00
David Smith
1a56da655f Native implementation of -lengthOfBytesUsingEncoding, plus handling ASCII-subset MacRoman in a few places (#81791)
Fixes rdar://154341146
2025-06-27 13:48:10 -07:00
David Smith
e795eb0d13 Cache the last ObjC bridging conformance we looked up (#81545)
Fixes rdar://151475392
2025-05-16 11:00:13 -07:00
David Smith
a861fc117b Add benchmarks for withContiguousStorageIfAvailable on bridged NSArrays (#75215) 2024-07-16 00:24:23 -07:00
Karoy Lorentey
8944591e71 [benchmark] Simplify benchmark registration 2021-09-15 22:08:08 -07:00
Karoy Lorentey
8910b75cfe [benchmark] Stop capitalizing function and variable names 2021-09-15 22:08:07 -07:00
Karoy Lorentey
203dc55b60 [benchmark] CheckResults → check
Capitalizing function names is against Swift naming conventions.
2021-09-15 22:08:07 -07:00
David Smith
9cbed94062 Add reverse-bridging benchmarks for array subscripting 2019-10-15 11:50:38 -07:00
David Smith
acbb1ef7ee Add a benchmark for unicode Strings created via JSON decoding 2019-06-26 14:18:49 -07:00
Doug Gregor
78ef7e3222 Revert "Add a benchmark for unicode Strings created via JSON decoding" 2019-06-26 07:37:54 -07:00
David Smith
813b114aa2 Add a benchmark for unicode Strings created via JSON decoding 2019-06-25 21:19:26 -07:00
David Smith
a1384d9a18 Add a benchmark for bridging String(contentsOfFile:...), now with availability guards for watchOS and tvOS 2019-04-29 14:28:09 -07:00
eeckstein
2c77f5c8c8 Revert "Add a benchmark for bridging String(contentsOfFile:...)" 2019-04-27 12:37:00 -07:00
David Smith
b3dd978d66 Add a benchmark for bridging String(contentsOfFile:...) 2019-04-26 16:04:36 -07:00
Pavol Vaskovic
37a788ade3 [benchmark] ObjectiveCBridging Legacy Factor 2019-02-11 18:03:30 +01:00
David Smith
2e194e6d6a Add a benchmark for bridging date components 2019-01-24 15:45:26 -08:00
Erik Eckstein
9931b3c719 benchmarks: Mark some unstable benchmarks as unstable.
Which excludes them from the list of executed benchmarks.
2017-12-04 16:01:56 -08:00
Max Moiseev
1dd9d61ded Move all benchmarks to use registerBenchmark and BenchmarkInfo 2017-10-03 18:04:56 -07:00
Dave Abrahams
e32fb8badb Remove interpolated strings from benchmark CheckResults
This call was in many cases skewing the benchmark results.

Note: Intentionally staging this in without removing the old overload initially.
2017-05-05 10:25:02 -07:00
Arnold Schwaighofer
ca40134c03 [benchmark] Sprinkle more autoreleasepools
SR-4666
2017-04-26 13:21:43 -07:00
Mikio Takeuchi
593155f78b Make benchmarks compile and run on Linux 2017-03-06 17:13:47 +09:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
Nate Cook
ef048083ce Move benchmarks out of unit-tests directory
'generate_harness.py' doesn’t look in subdirectories when
generating the test harness, so these tests were being
missed.
2017-01-04 22:24:37 -06:00
Arnold Schwaighofer
c9ef32c4d0 Move the objective-c bridging tests into the unit-tests folder 2016-03-16 15:44:28 -07:00
practicalswift
ff70c7016f [gardening] Fix formatting of recently introduced header 2016-03-16 23:26:29 +01:00
Arnold Schwaighofer
5ea595a5d4 Add Objective-C bridging tests for NSString, NSArray, NSDictionary, NSSet
The tests test conditional and forced bridging from objective-c and bridging to
objective-c.
2016-03-16 15:16:45 -07:00