Nate Cook
c53e8d6750
Add quadratic hash performance benchmark
2017-02-19 12:32:33 -06:00
therealbnut
4a55f70832
Benchmarks for dropLast and suffix
2017-02-13 21:50:09 +11:00
Ben Cohen
95988dd29d
Add benchmarks for appending UTF8 String views to an array
2017-02-06 14:14:49 -08:00
Max Moiseev
0e7863129c
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-01-30 16:51:16 -08:00
Ben Cohen
0d39d07efe
add more benchmarks of map/reduce
2017-01-27 17:58:55 -08:00
Max Moiseev
d128ed42b0
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-01-19 14:16:32 -08:00
Tony Allevato
9c07eb6534
Add benchmarks for initializing Characters from literals.
2017-01-17 21:35:37 -08:00
Ben Ng
3e718d3a26
Add benchmarks for += in ArrayAppend
2017-01-11 22:11:31 -05:00
Maxim Moiseev
f462ce7852
Deprecating + and - for SignedInteger and its Stride ( #6603 )
...
* Removing uses of mixed-type + and - in benchmarks
Using type cast or explicit type annotations.
* Deprecating use of + and - on SignedInteger
As it leads to mixed type arithmetics that is not supposed to work.
It was needed before the new collection indexing model to make moving
indexes simple.
* Test deprecation warning
2017-01-11 14:42:27 -08:00
Max Moiseev
27889c6376
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-01-06 15:54:44 -08:00
practicalswift
30a88d38e6
[gardening] Fix recently introduced typos
2017-01-06 21:16:02 +01: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
Roman Levenstein
ad0948a110
Merge pull request #6512 from djwbrown/djwbrown-reversed-benchmarks-only
...
[benchmark][prespecialize] Add benchmarks only for reversed iteration.
2017-01-04 19:38:19 -08:00
Dylan Brown
4355443f90
[benchmark][prespecialize] Add benchmarks only for reversed iteration.
...
Added ReversedCollections.swift to benchmark/single-source for
benchmarking of iterations through reversed collection types.
2016-12-30 20:26:54 +02:00
Nate Cook
95730e8726
[benchmark] Add test for sorting an already sorted array
2016-12-24 01:17:51 -06:00
practicalswift
1c5425fff9
[gardening] Fix recently introduced typos.
2016-12-20 10:07:36 +01:00
Max Moiseev
3276aa5bcf
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2016-12-19 13:15:50 -08:00
ben-cohen
313e2954c0
add tests of generic append
2016-12-18 08:21:46 -08:00
Max Moiseev
9b2f8858ec
Merge branch 'master' into new-integer-protocols
2016-12-08 09:38:38 -08:00
Mishal Shah
5eece8860f
Revert "SILOptimizer: Replace Array.append(contentsOf: with Array.append(elem…"
2016-12-06 11:26:15 -08:00
Max Moiseev
356c15cb4a
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2016-12-06 10:35:27 -08:00
Ben Ng
1b10c18b3e
SILOptimizer: Replace [].append(contentsOf:) with [].append(element:)
2016-12-05 12:27:42 -05:00
Max Moiseev
3059b3cdd1
Merge branch 'master' into new-integer-protocols
2016-11-30 10:45:10 -08:00
Max Moiseev
3b4c8044bf
Fixing the benchmarks now that the + is not defined for Strideable
2016-11-29 16:21:15 -08:00
Max Moiseev
70b2343626
Merge branch 'master' into new-integer-protocols
2016-11-28 15:25:01 -08:00
practicalswift
5bc293cc09
[gardening] Add missing licensing headers.
2016-11-28 21:40:06 +01:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
practicalswift
59b90fd201
Remove unused function digestFast(…)
2016-11-20 13:51:16 +01:00
Max Moiseev
645210ee4c
Revert "Speeding up the RC4 benchmark by using right initializers for ints"
...
This reverts commit 4f396089d9 .
2016-11-17 12:18:55 -08:00
Max Moiseev
4f396089d9
Speeding up the RC4 benchmark by using right initializers for ints
2016-11-16 15:59:24 -08:00
Max Moiseev
953d919a22
Merge branch 'master' into new-integer-protocols
2016-11-16 14:46:31 -08:00
practicalswift
ee58a8831f
[gardening] Fix typos.
2016-11-15 18:05:48 +01:00
Max Moiseev
92813be403
Merge branch 'master' into new-integer-protocols
2016-11-11 16:14:57 -08:00
practicalswift
17503b0d85
[gardening] Use American English.
2016-11-06 10:12:04 +01:00
Karoly Lorentey
d751b83054
[benchmark][SR-3106] Add benchmarks implementing Observers four different ways
...
These benchmarks highlight optimization opportunities in the implementation
of partially applied methods and escaping closures.
# TEST SAMPLES MIN(μs) MAX(μs) MEAN(μs) SD(μs) MEDIAN(μs) MAX_RSS(B)
97 ObserverClosure 10 2547 2752 2599 0 2599 308317798
98 ObserverForwarderStruct 10 1345 1972 1480 0 1480 614535987
99 ObserverPartiallyAppliedMethod 10 3953 4194 4049 0 4049 267670733
100 ObserverUnappliedMethod 10 2990 3482 3093 0 3093 338796544
2016-11-01 22:27:08 +01:00
Max Moiseev
3d4f00091d
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2016-10-28 15:55:40 -07:00
Ben Cohen
edbc41dc54
expanding append(contentsOf:) benchmarks
2016-10-28 09:47:50 -07:00
Ben Cohen
79f1880ca5
Add simple benchmark for append(contentsOf:)
2016-10-24 17:05:00 -07:00
Max Moiseev
6803cda05c
Merge branch 'master' into new-integer-protocols
2016-09-26 11:39:46 -07:00
practicalswift
ef8e43b519
[gardening] Increase consistency with regards to spacing after colons
2016-09-22 16:28:57 +02:00
Max Moiseev
ea8e0f0e15
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2016-09-21 14:48:35 -07:00
practicalswift
89276cc07e
[gardening] Replace "a NSFoo" with "an NSFoo".
2016-09-16 21:49:18 +02:00
Erik Eckstein
a4cc137e16
Revert "benchmarks: add missing autoreleasepool in DictionaryBridge benchmark"
...
This reverts commit b8d4cf6036 .
autoreleasepool is no longer necessary because the optimized NSDictionary constructor:
ae22fe7f6b
2016-08-05 09:03:31 -07:00
Erik Eckstein
b8d4cf6036
benchmarks: add missing autoreleasepool in DictionaryBridge benchmark
...
Fixes a leak
rdar://problem/27601057
2016-08-01 15:21:32 -07:00
Erik Eckstein
304095fd7d
benchmarks: Don't crash on overflow in IterateData
2016-08-01 13:50:02 -07:00
Dave Abrahams
f06a9a1154
Merge 'origin/master' into new-integer-protocols
2016-07-29 17:52:49 -07:00
Robert Widmann
4f465224ea
Polish off uses of dynamicType in tests
2016-07-29 16:59:14 -07:00
Dmitri Gribenko
99dffd7682
Merge pull request #3854 from rintaro/SE-0101-memorylayout
...
[SE-0101] Implement: Reconfiguring sizeof and related functions into a unified MemoryLayout struct - Part 1
2016-07-29 15:56:27 -07:00
Doug Gregor
8219d4f42b
Merge pull request #3853 from milseman/noescape_by_default
...
SE-0103 Noescape by default
2016-07-29 15:27:52 -07:00