Commit Graph

1638 Commits

Author SHA1 Message Date
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
Nate Cook
252af7d9c9 Merge pull request #7617 from natecook1000/nc-hash-quadtest
Add benchmark for quadratic hash performance
2017-03-01 08:11:03 +09:00
therealbnut
c6dc0b0625 Add Array benchmarks 2017-02-25 13:08:39 +11:00
Hugh Bellamy
4f23d61da0 Import print_function wherever we use print() in python code 2017-02-20 11:11:27 +07:00
Nate Cook
c53e8d6750 Add quadratic hash performance benchmark 2017-02-19 12:32:33 -06:00
Nate Cook
b100181fe0 Update CMakeList template for benchmarks 2017-02-18 22:21:12 -06:00
Hugh Bellamy
fa3543d3c5 Fix some pylint errors for double whitespace after class/function 2017-02-17 15:37:19 +07:00
practicalswift
fccad8d1a0 Use proper spacing. 2017-02-15 21:48:25 +01:00
practicalswift
78c3770d27 Use the py2+py3 compatible way to reduce using functools.reduce(...) 2017-02-15 21:41:53 +01:00
therealbnut
4a55f70832 Benchmarks for dropLast and suffix 2017-02-13 21:50:09 +11:00
Doug Coleman
307506c393 benchmark/CMakeLists.txt: Accept the --host-cc clang path if provided
instead of always grabbing it from Xcode.
2017-02-07 00:18:59 -08: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
aecccc7e48 Merge remote-tracking branch 'origin/master' into new-integer-protocols 2017-01-09 17:38:04 -08:00
practicalswift
3918d9d251 [gardening] Replace likely word processor artefacts with ASCII equivalents (— → --, … → ...) 2017-01-08 15:23:06 +01: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
e56bf42acb Update generate_harness.py templates
These templates had gotten slightly out of date through
manual edits. These changes make it so that running
generate_harness.py actually generates the desired files.

Changes to the non-template files are a result of the script's
alphabetization.
2017-01-04 22:26:02 -06: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
8ee628fb14 Merge pull request #6408 from practicalswift/gardening-20161220
[gardening] Remove "REQUIRES: asserts". Correct Swift URL. Typos. Headers. PEP-8.
2016-12-20 18:47:42 +01: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
18487b4e71 new tests to benchmark main.swift 2016-12-18 19:31:30 -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