Commit Graph

223 Commits

Author SHA1 Message Date
Erik Eckstein
62be182cac benchmarks: add a comment and use more meaningful numbers 2017-04-27 16:59:42 -07:00
Maxim Moiseev
41b00c57ab Merge pull request #9044 from moiseev/substring-in
[stdlib] Substring
2017-04-26 19:25:59 -07:00
Max Moiseev
3b607436be Making benchmarks compile 2017-04-26 16:49:34 -07:00
Erik Eckstein
994c04f943 benchmarks: add another benchmark for appending multiple array elements.
In contrast to the other similar benchmarks, this benchmark starts with a new array each iteration.
2017-04-26 15:06:05 -07:00
Erik Eckstein
7914e09aa8 benchmarks: Add a benchmark for COW existentials 2017-04-26 14:54:16 -07:00
swift-ci
0ce898be79 Merge pull request #9036 from aschwaighofer/benchmark_more_autoreleasepools 2017-04-26 13:52:22 -07:00
Arnold Schwaighofer
ca40134c03 [benchmark] Sprinkle more autoreleasepools
SR-4666
2017-04-26 13:21:43 -07:00
swift-ci
1be1f07263 Merge pull request #9031 from aschwaighofer/benchmark_objectivec_bridge_autoreleasepool 2017-04-26 10:53:06 -07:00
Arnold Schwaighofer
a8e3fc9af3 [benchmark] Lower the max memory size of ObejctiveC bridging tests by moving the
autoreleasepool down such that we have less allocations in the pool until it is
empty

rdar://31788785
SR-4666
2017-04-26 10:01:55 -07:00
Arnold Schwaighofer
4338e525bf Merge pull request #9027 from aschwaighofer/benchmark_dictionarybridge_autoreleasepool
[benchmark] Add autorelease pool to fix memory hogging
2017-04-26 09:56:25 -07:00
Arnold Schwaighofer
7ed2122947 [benchmark] Add autorelease pool to fix memory hogging
rdar://31788785
2017-04-26 07:37:07 -07:00
Michael Ilseman
111d6200eb Merge pull request #8979 from milseman/parse_my_tweets_faster
[stdlib] Parse my tweets faster! 2x forwards, 3x reverse
2017-04-26 07:36:18 -07:00
Michael Ilseman
517ac2a66f [benchmark] Add in some (default off) mixed-string micro benchmarks
Adds in a benchmark to see how quickly we can traverse mixed latin and
emoji strings. Default disabled and part of the stringTests suite.
2017-04-24 14:57:42 -07:00
Maxim Moiseev
1c1b2b966d [stdlib] String : RangeReplaceableCollection & BidirectionalCollection (#8921)
* [stdlib] String : RangeReplaceableCollection & BidirectionalCollection

* Add source compatibility hack for Swift.max

* Add source compatibility hack for Swift.min

* Remove redundant conformance in benchmarks

* Fix stupid typo I thought I'd already pushed

* XFAIL testing now-redundant conformance

* XFAIL an IDE test for now
2017-04-23 20:04:54 -07:00
Michael Ilseman
edf8e6e5e6 [benchmark] Move work into the harness generator
Move the improvements to main.swift into the harness generator and
template itself. Run the generator.
2017-04-19 14:59:35 -07:00
Michael Ilseman
9ffc2f073a [benchmark] Add String test suite (off by default)
Starts a String perf test suite called stringTests which is
off-by-default, but allows us to place some lower-level targeted
benchmarking.
2017-04-19 13:31:34 -07:00
practicalswift
a029589093 [gardening] Use consistent headers 2017-04-18 19:51:08 +02:00
Max Moiseev
9b53efd72c Merge branch 'master' into new-integer-protocols 2017-04-17 09:53:44 -07:00
swift-ci
bf08d01610 Merge pull request #8641 from palimondo/sequence-benchmarks 2017-04-14 00:35:02 -07:00
Pavol Vaskovic
54cfe0a7c4 Nit: Fixed formatting of dashes in file header 2017-04-13 12:41:54 +02:00
practicalswift
b704f1448b [gardening] Improve header consistency 2017-04-12 15:13:11 +02:00
Pavol Vaskovic
1c9cc3815a Performance tests for Sequence methods: DropFirst, DropWhile, PrefixWhile 2017-04-12 01:15:02 +02:00
Pavol Vaskovic
739c3b70a8 Add same test variants for DropLast and Prefix as exist on Suffix 2017-04-11 01:22:43 +02:00
Pavol Vaskovic
11065bec81 Fixed more filenames in the comments. 2017-04-08 09:22:56 +02:00
Pavol Vaskovic
4dbcec2ab5 Fixed filename in the comments. 2017-04-08 09:20:53 +02:00
Pavol Vaskovic
4f3753a749 Add support for GYB in benchmarks 2017-04-08 09:13:18 +02:00
Max Moiseev
31e1b1f4ff Splitting a complex expression in the benchmarks 2017-04-07 17:06:56 -07:00
Max Moiseev
5242168f60 Reverting becnhmarks code to master 2017-04-05 13:50:50 -07:00
Max Moiseev
10f0c9e89a Merge branch 'master' into new-integer-protocols 2017-04-03 11:49:56 -07:00
Max Moiseev
3cbcd716f5 Merge branch 'master' into new-integer-protocols 2017-03-31 10:03:20 -07:00
Andrew Bennett
ad74313951 Merge branch 'master' into therealbnut-fix-box-generic-warnings 2017-03-31 09:07:11 +11:00
Pavol Vaskovic
4b0c270b66 [Benchmark] Eliminate redundant conformance requirements. 2017-03-30 16:16:03 +02:00
Arnold Schwaighofer
91882b44fa Merge pull request #8408 from aschwaighofer/fix_benchmark_to_work_with_scripts
Fix benchmark for generate script
2017-03-29 08:13:35 -07:00
Arnold Schwaighofer
3c83ea6761 Fix benchmark for generate script 2017-03-29 05:35:48 -07:00
practicalswift
377e534239 [gardening] Add missing copyright notice 2017-03-28 21:43:00 +02:00
Max Moiseev
969b4814e2 Merge branch 'master' into new-integer-protocols 2017-03-27 20:40:15 -07:00
Arnold Schwaighofer
f5cf0aa5d6 Add existential performance benchmarks 2017-03-27 11:32:47 -07:00
therealbnut
0e2ac90f95 Fix redundant constaints warnings with Box types 2017-03-26 11:33:27 +11:00
Max Moiseev
b9fb3badc8 Merge remote-tracking branch 'origin/master' into new-integer-protocols 2017-03-22 12:30:24 -07:00
Roman Levenstein
29ad714bb7 Annotate stdlib functions to get a good performance even in resilient mode, when -sil-serialize-all is disabled
This commit mostly improves the performance of arrays and ranges.
It does not cover Strings, Dictionaries and Sets yet.
2017-03-16 19:46:11 -07:00
swift-ci
b156cbb0f7 Merge pull request #7420 from therealbnut/therealbnut-droplast-suffix-benchmarks 2017-03-14 14:34:53 -07:00
Nate Cook
27b3de06f8 [benchmark] Add test for lazy filter -> array 2017-03-14 11:08:25 -05:00
Mikio Takeuchi
84e07329d3 Conditionally import Darwin or Glibc 2017-03-13 14:50:07 +09:00
therealbnut
a4f510f266 Merge remote-tracking branch 'origin/master' into therealbnut-droplast-suffix-benchmarks 2017-03-11 18:13:38 +11:00
Ben Cohen
f02f31c2df Add more string benchmarks 2017-03-10 17:20:04 -08:00
Max Moiseev
835b8809d2 Merge branch 'master' into new-integer-protocols 2017-03-07 16:18:54 -08:00
Mikio Takeuchi
593155f78b Make benchmarks compile and run on Linux 2017-03-06 17:13:47 +09:00
Andrew Bennett
34d7a4b5bc Merge branch 'master' into therealbnut-droplast-suffix-benchmarks 2017-03-05 11:57:44 +11:00
Nate Cook
00b72b3d24 [benchmark] Fix incorrect results check 2017-03-01 08:42:46 +09:00
therealbnut
c6dc0b0625 Add Array benchmarks 2017-02-25 13:08:39 +11:00