Matt Rubin
|
efd0641cb9
|
Upgrade PerformanceTests to Swift 5
|
2019-03-28 15:37:53 -04:00 |
|
Matt Rubin
|
9108345bbd
|
Refactor generation of the repeated string in performance tests
|
2018-12-12 13:44:13 -05:00 |
|
Matt Rubin
|
1f09773cb2
|
Run SwiftLint when building the performance tests
|
2018-12-12 05:05:46 -05:00 |
|
Matt Rubin
|
d90337ce39
|
[Lint] Clean up whitespace around let declarations
|
2018-12-12 05:05:15 -05:00 |
|
Matt Rubin
|
e40eb92819
|
Enable SwiftLint warnings for force casts
|
2018-12-12 04:53:31 -05:00 |
|
Matt Rubin
|
f40327ae5d
|
[Lint] Clean up multiline function chains
|
2018-12-12 04:51:55 -05:00 |
|
Matt Rubin
|
cad13dd9af
|
[Lint] Add whitespace around operators
|
2018-12-12 04:43:26 -05:00 |
|
Matt Rubin
|
aeb87d2ce7
|
Calculate average encode and decode times in performance tests
|
2018-12-12 03:55:00 -05:00 |
|
Matt Rubin
|
b22b54e4e9
|
Improve Base32 decoding performance by avoiding the DecodedBlock enum
|
2018-12-12 03:34:42 -05:00 |
|
Matt Rubin
|
f79f27dbd1
|
Improve Base32 decoding performance by refactoring character lookup
|
2018-12-12 03:00:40 -05:00 |
|
Matt Rubin
|
7f8a3a708a
|
Measure Base32 decoding performance
|
2018-12-12 02:36:07 -05:00 |
|
Matt Rubin
|
0f3952c57b
|
Print the number of bytes and iterations in the performance test
|
2018-12-12 02:13:21 -05:00 |
|
Matt Rubin
|
6453c52a88
|
Use common config files for performance tests
|
2018-12-12 01:47:02 -05:00 |
|
Matt Rubin
|
20eb824078
|
Update to recommended project settings
|
2018-12-12 01:28:50 -05:00 |
|
Matt Rubin
|
e11c40d00a
|
Update performance tests to Swift 4.2
|
2018-12-12 01:28:11 -05:00 |
|
Matt Rubin
|
5f2a46bcea
|
Fix the license information in the swift file headers
|
2016-11-16 19:36:32 -05:00 |
|
Matt Rubin
|
aed745f238
|
Create an enum namespace for Base32 functions
|
2016-04-27 15:15:51 -04:00 |
|
Matt Rubin
|
96a17d7e65
|
Write chars directly into the encoded buffer, without building an array
Reduces runtime by 47%
|
2016-04-27 02:35:37 -04:00 |
|
Matt Rubin
|
9396cbdbb8
|
Pass encoded blocks as tuples, to avoid allocating temporary arrays
Reduces runtime by 65%
|
2016-04-27 02:21:26 -04:00 |
|
Matt Rubin
|
0bd75d323f
|
Instead of concatenating strings, build a CUnsignedChar array
Reduces runtime by 77%
|
2016-04-27 02:06:49 -04:00 |
|
Matt Rubin
|
315907cb75
|
Increase number of iterations in performance test
|
2016-04-27 01:45:13 -04:00 |
|
Matt Rubin
|
c83df3436e
|
Use an array instead of a switch statement for encoded character lookup
Reduces runtime by 14%
|
2016-04-27 01:30:57 -04:00 |
|
Matt Rubin
|
2203ed5dcb
|
Improve performance measurement output
|
2016-04-27 01:20:26 -04:00 |
|
Matt Rubin
|
ab8c021b94
|
Use UnsafePointer instead of Array and ArraySlice to pass bytes
Reduces runtime by 4%
|
2016-04-27 01:17:49 -04:00 |
|
Matt Rubin
|
2adc86ab94
|
Iterate over the input bytes instead of recursing
Reduces runtime by 68%
|
2016-04-27 00:57:55 -04:00 |
|
Matt Rubin
|
75b8fe2bb1
|
Compile the performance tests with the release configuration
Reduces runtime by 18%
|
2016-04-27 00:52:54 -04:00 |
|
Matt Rubin
|
19cc84b23c
|
Concatenate Strings instead of Characters
Reduces runtime by 66%
|
2016-04-27 00:48:34 -04:00 |
|
Matt Rubin
|
e150c924ed
|
Add manual baseline value to the performance comparison
|
2016-04-27 00:45:17 -04:00 |
|
Matt Rubin
|
61fc824edb
|
Add performance tests
|
2016-04-27 00:37:21 -04:00 |
|