Dave Abrahams
1c3d998951
Revert "[gardening] "Type->Type" → "Type -> Type" in Swift code"
...
This reverts commit 14edeaf67a because
it's breaking tests:
https://ci.swift.org/job/oss-swift-incremental-RA-osx/lastFailedBuild/consoleFull#1361088108ee1a197b-acac-4b17-83cf-a53b95139a76
2016-04-13 10:29:57 -07:00
practicalswift
14edeaf67a
[gardening] "Type->Type" → "Type -> Type" in Swift code
2016-04-13 10:51:53 +02:00
practicalswift
c760f6dfbf
[gardening] Add whitespace: "foo,bar" → "foo, bar"
2016-04-12 22:31:46 +02:00
practicalswift
cb69632454
[gardening] Fix comments not starting with "// " or "# "
2016-04-12 09:22:52 +02:00
Chris Willmore
a4484ffa09
Fix use of String.componentsSeparated(by:) in benchmark.
2016-04-07 23:39:23 -07:00
practicalswift
66183cdbf7
[gardening] Fix unjustified spacing
2016-04-07 10:10:24 +02:00
Manav Gabhawala
7928140f79
[SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary
2016-04-06 20:21:58 -04:00
Dmitri Gribenko
6985b958fd
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-04-04 11:42:17 -07:00
practicalswift
e8c4e1dd24
[gardening] Fix PEP 8 regression.
2016-04-02 11:31:07 +02:00
Slava Pestov
0969f273d6
benchmark: Respect the SWIFT_DARWIN_XCRUN_TOOLCHAIN build setting
2016-04-01 16:17:16 -07:00
Erik Eckstein
12f38252d9
compare_perf_tests script: Fix two minor bugs
...
1) --changes-only didn't have an effect on formats other than html
2) a wrong-format error was printed even if the format name was correct
2016-04-01 14:18:29 -07:00
Erik Eckstein
d628cced3d
compare_perf_tests script: Fix bug when calculating the minimum/maximum of multiple samples
...
Instead of the minimum always the last sample was taken.
2016-04-01 14:18:29 -07:00
Dmitri Gribenko
5a12349e9c
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-04-01 14:12:13 -07:00
Arnold Schwaighofer
bcb698bcb4
AngryPhonebook: uppercased and lowercased are functions so call them
...
We were not doing any work in this benchmark at -O because we were removing dead
code (to build a tuple of partially applied functions). Now that we are actually
calling the functions we can't eliminate dead code.
This is going to appear as a regression but it is none.
2016-03-31 09:17:17 -07:00
Arnold Schwaighofer
1d2643b93f
Support performance testing with automatic bridging disabled.
2016-03-29 15:14:36 -07:00
Dave Abrahams
8e4f85277b
Merge remote-tracking branch 'refs/remotes/origin/master' into merge
2016-03-29 09:19:34 -07:00
practicalswift
11a8b6c2ba
[gardening] Daily cleanup: typos, header formatting.
2016-03-28 09:29:38 +02:00
practicalswift
d00a5ef814
[gardening] Weekly gardening: typos, duplicate includes, header formatting, etc.
2016-03-24 22:41:10 +01: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
practicalswift
1f90412532
[Python] Remove unused function nthroot. Use sys.exit(…) instead of exit(…)
2016-03-22 21:34:41 +01:00
Mishal Shah
243e359fdc
Merge pull request #1682 from shahmishal/master
...
[Compare Perf] Add support for markdown and html
2016-03-22 11:59:45 -07:00
Mishal Shah
cb23837bb9
[Compare Perf] Add support for markdown and html
2016-03-21 18:08:08 -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
4492e589e5
[benchmarks] ARC is not the default like I assumed
...
We are hence leaking ...
2016-03-18 12:01:49 -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
Dmitri Gribenko
85d955b788
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-03-15 01:27:03 -07:00
Shawn Erickson
d2a0b676e5
New indexing model: fix compile issues in benchmarks
2016-03-14 22:28:12 -07:00
practicalswift
1edb62dc38
[Python] Make flake8 linting pass without errors/warning (w/ default rules)
2016-03-13 20:19:51 +01: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
practicalswift
9c8a01c214
[Python] Remove unused methods get_{data,output,status}()
2016-03-12 20:21:16 +01:00
practicalswift
8bf6df8539
Merge pull request #1615 from practicalswift/remove-global-ignores-add-local-noqa
...
[Python] Replace global linting excludes with local line-level excludes ("noqa")
2016-03-11 14:42:15 +01:00
Mishal Shah
f89c70135b
Merge pull request #1624 from shahmishal/master
...
[Perf script] Fix output format for compare script
2016-03-10 11:56:55 -08:00
Mishal Shah
fcbea8bd90
[Perf script] Fix output format for compare script
2016-03-10 11:54:27 -08:00
practicalswift
d5326bfdc4
[Python] Replace global linting excludes with local line-level excludes ("noqa")
...
Replace the project global linting rule excludes (as defined in .pep8) with
fine-grained "# noqa" annotations.
By using noqa annotation the excludes are made on a per line basis instead of
globally.
These annotations are used where we make deliberate deviations from the standard
linting rules.
To lint the Python code in the project:
$ flake8
To install flake8:
$ pip install flake8
See https://flake8.readthedocs.org/en/latest/ for details.
To enable checking of the PEP-8 naming conventions, install the optional
extension pep8-naming:
$ pip install pep8-naming
To enable checking of blind "except:" statements, install the optional
extension flake8-blind-except:
$ pip install flake8-blind-except
To enable checking of import statement order, install the optional
extension flake8-import-order:
$ pip install flake8-import-order
2016-03-10 16:22:48 +01:00
practicalswift
a1156e1854
[Python] Fix recently introduced linting (flake8) regression.
2016-03-10 13:51:17 +01:00