Arnold Schwaighofer
1d2643b93f
Support performance testing with automatic bridging disabled.
2016-03-29 15:14:36 -07:00
Dave Abrahams
8d9e62b274
[stdlib] indexing model: rename next/previous
...
I'm not too satisfied with the names for the updating: versions, but
this is a start.
2016-03-22 17:13:54 -07:00
Max Moiseev
d3c1e7b493
[stdlib][swift-3-indexing-model] making benchmarks compile again
2016-03-22 15:46:50 -07:00
Max Moiseev
d7632a6ec3
[stdlib] making benchmarks compile with new collections
2016-03-21 16:52:49 -07:00
Dmitri Gribenko
a6cd57222a
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-03-21 14:41:15 -07:00
practicalswift
a942bb76d0
[gardening] Fix formatting of recently introduced headers.
2016-03-19 00:37:37 +01:00
Arnold Schwaighofer
9078011f93
[benchmark] Add autoreleasepool to objc bridging tests
...
We might be returning unowned objects as autorelease'd results.
I consciously do this in the test rather than in the driver because this makes
it easier to run the test in isolation.
2016-03-18 13:07:45 -07:00
Arnold Schwaighofer
50c048d7e9
Add ObjectiveC bridging stub test support
...
This allows for testing the autogenerated bridging stub code.
2016-03-17 13:42:36 -07:00
Dave Abrahams
f493b54e44
[stdlib] indexing model: Interval/Range merge
...
This is step 1; we still need to introduce ClosedRange.
2016-03-16 15:59:10 -07:00
practicalswift
9d9488078e
[gardening] Fix recently introduced comparisons to true: if (x == true) { … }
2016-03-16 23:51:42 +01: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
Shawn Erickson
d2a0b676e5
New indexing model: fix compile issues in benchmarks
2016-03-14 22:28:12 -07:00
Arnold Schwaighofer
ee3e7a58b3
[benchmark] Add versions of the set tests with class element types
2016-03-13 08:58:59 -07:00
Arnold Schwaighofer
191b3c87a1
[benchmark] Add RGBHistogramOfObjects
...
Another dictionary benchmark with objects as key and value types.
2016-03-13 08:45:30 -07:00
Arnold Schwaighofer
548ba33e1d
[benchmark] Add DictionarySwapOfObjects
...
Another dictionary benchmark with objects as key and value types.
2016-03-13 08:28:58 -07:00
Arnold Schwaighofer
4e43f745cd
[benchmark] Add DictionaryRemoveOfObjects
...
Another dictionary benchmark with objects as key and value types.
2016-03-13 08:23:36 -07:00
Arnold Schwaighofer
f6a1926c8c
[benchmark] Add Dictionary3OfObjects
...
Another dictionary benchmark with objects as key and value types.
2016-03-13 08:13:06 -07:00
Arnold Schwaighofer
577b0f2230
[benchmark] Add Dictionary2OfObjects
...
Another dictionary benchmark with objects as key and value types.
2016-03-13 08:03:41 -07:00
Arnold Schwaighofer
d021e8d5c9
[benchmark] Add DictionaryOfObjects benchmark
...
This tests performance of dictionary when both key and value are objects.
(We have fast paths otherwise because we know that the dictionary cannot be
backed by an objective c dictionary)
2016-03-13 08:03:11 -07:00
Max Moiseev
02006f20bc
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-03-09 16:05:03 -08:00
Arnold Schwaighofer
e9ac8c876a
Add a performance unit test for stack promotion
2016-03-09 07:30:00 -08:00
Max Moiseev
7fe6916bf6
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-03-07 12:10:47 -08:00
practicalswift
5b2800225d
[gardening] Fix recently introduced typos
...
Fixed:
* perfomance → performance
* requirments → requirements
* satisified → satisfied
* template template → template
2016-03-04 11:10:50 +01:00
Max Moiseev
cf4bafe9e3
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-03-03 13:22:03 -08:00
Patrick Pijnappel
3d58bc0d82
Adjust UTF8Decode benchmark to run in <1s
...
Under Debug -Onone
2016-03-03 18:17:09 +11:00
Patrick Pijnappel
6dc0a111f1
Minimize influence of setup time for UTF-8 decoding benchmark
2016-03-02 22:08:26 +11:00
Patrick Pijnappel
0b307a313c
Make UTF-8 decode benchmark use more realistic cases
2016-03-01 20:31:32 +11:00
Patrick Pijnappel
6a5fc126e2
Add benchmark for UTF-8 decoding
2016-03-01 16:52:55 +11:00
Max Moiseev
e48f452a2e
Merge remote-tracking branch 'origin/swift-3-api-guidelines' into swift-3-api-guidelines
2016-02-29 12:15:33 -08:00
Max Moiseev
a49dab6bf8
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-29 12:08:52 -08:00
Daniel Duan
2bc78b8c09
[stdlib] update for 'inout' adjustment (SE-0031)
2016-02-26 12:02:29 -08:00
Jordan Rose
b319e3da32
stdlib: Adjust to insert(contentsOf:at:) and append(contentsOf:)
...
instead of insertContents(of:at:) and appendContents(of:),
originally insertContentsOf(_:at:) and appendContentsOf(_:)
per internal discussion.
2016-02-25 12:50:39 -08:00
Dmitri Gribenko
f0633ce5a9
stdlib: Sequence.iterator() => .makeIterator()
2016-02-23 13:52:30 -08:00
Max Moiseev
4b9eab6288
appendContentsOf => appendContents(of:)
2016-02-22 18:02:04 -08:00
Max Moiseev
481bcabcba
[stdlib] API naming guidelines applied to split and join
...
- `separator` label for first argument of `split`
- `join` and related types are renamed to `joined`
2016-02-22 15:43:33 -08:00
Dmitri Gribenko
3d3d4540e1
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-20 14:37:49 -08:00
Max Moiseev
40b1a0b7e0
[stdlib] all sorts of require renamed back to precondition
2016-02-19 18:21:29 -08:00
Nadav Rotem
5df42b7f91
Track the performance of calls to protocol methods.
...
rdar://22704464.
2016-02-19 16:48:29 -08:00
Dmitri Gribenko
98561f6137
stdlib: joinWithSeparator(_:) => join(separator:)
2016-02-18 22:30:57 -08:00
Dmitri Gribenko
dd75aed67a
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-17 14:40:05 -08:00
Dmitri Gribenko
624461f242
wip
2016-02-15 23:48:02 -08:00
Dmitri Gribenko
efaa39ea79
stdlib: add first argument labels and some other changes to conform to API guidelines
2016-02-15 23:47:54 -08:00
Max Moiseev
3a3984877a
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-15 15:43:34 -08:00
practicalswift
1ddf6b50ad
[gardening] Remove double spaces in newly introduced code.
2016-02-14 12:45:48 +01:00
Nadav Rotem
73df70e57f
Merge pull request #1294 from dgrove-oss/benchmark-sequential-integrate
...
Add sequential variant of Integrate benchmark
2016-02-12 17:58:48 -08:00
David Grove
8fa5378cbe
Add sequential variant of Integrate benchmark
...
A simple recursive divide and conquer algorithm
whose parallel variant is often used to assess
scheduling overheads in dynamic task-based runtimes.
2016-02-12 17:32:27 -05:00
practicalswift
85e29caac8
[gardening] Fix recently introduced typo: "apend" → "append"
2016-02-12 23:29:25 +01:00
Daniel Duan
993fd5cc6e
use keyword "associatedtype" in benchmark code
2016-02-10 00:55:55 -08:00