Commit Graph

31 Commits

Author SHA1 Message Date
Roman Temchenko
277518293e Merge pull request #79528 from iThinker/improve-benchmark-readme
Update benchmark README with info on how to ensure benchmarks test locally built stdlib
2025-02-24 19:01:44 -08:00
Valeriy Van
8c8593686d OS X -> macOS in swift/benchmark/README.md (#62026) 2022-11-11 12:07:43 +00:00
Karoy Lorentey
8304e6c0bf Merge pull request #39336 from lorentey/decapitate-benchmarks
[benchmark][NFC] Use Swift naming conventions
2021-09-20 17:16:35 -07:00
Karoy Lorentey
386ae586e5 [benchmark] Document deterministic hashing requirement 2021-09-16 20:23:47 -07:00
Karoy Lorentey
8944591e71 [benchmark] Simplify benchmark registration 2021-09-15 22:08:08 -07:00
Karoy Lorentey
8910b75cfe [benchmark] Stop capitalizing function and variable names 2021-09-15 22:08:07 -07:00
zoecarver
a13c57c360 Bump CMake version to 3.19.6.
Updates the CMake version for Swift and the Swift Benchmarks to 3.19.6.
Updates the docs to reflect this change. Does not modify the required version for building the stdlib.
2021-07-12 08:57:35 -07:00
Konrad `ktoso` Malawski
a5a5236cb3 fix minor typo in command in benchmarks/readme 2021-01-08 16:51:17 +09:00
Max Desiatov
33bc25be80 Fix remaining hardcoded references to x86_64 2020-12-08 17:12:23 +00:00
Mishal Shah
40024718ac Update doc and links to support new main branch 2020-09-22 23:53:29 -07:00
Andrew Trick
80cd7ed40e Add a comment to the benchmark readme. 2020-05-04 09:48:26 -07:00
Vedant Kumar
609c84b600 benchmark: Make building with debug info the default (#29669) 2020-02-06 11:03:20 -08:00
Andrew Trick
878814de64 Cleanup the directions for building benchmarks. 2019-08-06 14:37:56 -07:00
Michael Gottesman
2cf9f09e2c [benchmark][readme] Add docs on how to edit the benchmarks in xcode/build with swiftpm. 2019-07-19 09:43:32 -07:00
Michael Gottesman
c6c81330ac [benchmark] Change the readme to consistently use the "#" heading form
We need this to use Heading 3+. Better to just standardize on that one
convention so we are consistent.
2019-07-18 23:19:40 -07:00
Andrew Trick
b127216946 Benchmark cmake: Added SWIFT_BENCHMARK_USE_OS_LIBRARIES
Cleanup and document the configuration of the library path and rpath.

With SWIFT_BENCHMARK_USE_OS_LIBRARIES, it's now possible to directly
build benchmarks for a target device and run those benchmarks on the
device without building or installing Swift.

It's also possible now to specify an absolute SWIFT_LIBRARY_PATH to be
used as an rpath so installation can be skipped.
2019-04-10 09:31:02 -07:00
Patrick Balestra
daf7485e67 [benchmark] Update documentation to reflect usage of automated script to generate benchmarks 2019-01-20 22:22:20 +01:00
Andrew Trick
599e5860c5 Remove references to SWIFT3 from benchmark Cmake files. 2018-10-11 21:53:19 -07:00
Pavol Vaskovic
c288f7553e [benchmark] Updated docs with info on test numbers
* Description of listing and running tests by ordinal numbers
2018-07-11 23:17:02 +02:00
Pavol Vaskovic
2d004970fd [benchmark] Fix: Running skip-tag-marked benchmark
Also updated benchmark documentation with more detailed description of tag handling.
2018-07-11 23:17:02 +02:00
Pavol Vaskovic
b7eb476f94 [benchmark] Moved tests for benchmark scripts
Moved `lit` test that runs unit tests for benchmark scripts from `validation-test/Python` to `test/benchmark` directory. Run the tests for benchmark infrustructure with single lit invocation:
````
swift-source$ ./llvm/utils/lit/lit.py -sv ${SWIFT_BUILD_DIR}/test-macosx-x86_64/benchmark
````

Documented the invocation of benchmark infrastructure tests in README.md
2018-07-09 13:55:48 +02:00
Andrew Trick
b254b6c069 Update benchmark README.md 2018-01-25 20:35:59 -08:00
Erik Eckstein
45a2ae48ce benchmarks: replace the Ounchecked build with an Osize build
We don't measure Ounchecked anymore. On the other hand we want to benchmark the Osize build.
2017-10-06 14:09:43 -07:00
Andrew Trick
aaece4f1f2 Remove benchmark CMakeLists and main.swift from gyb.
When a benchmark is added, it's name will be manually added to CMakeLists and
main.swift.

Adding a benchmark no longer requires discovering a nonobvious script.

If the build works locally, then it will work everywhere else.

Note that generate_harness.py should now be renamed to generate_benchmarks.py,
but I think it's name may be hard-coded somewhere in the compiler tests. Anyway,
this script should go away as soon as someone fixes the cmake configuration to
automatically run gyb.
2017-09-22 12:49:59 -07:00
Pavol Vaskovic
97d6f8dc5e Support for running benchmarks by ordinal number
Add support for running benchmarks by reffering to them by their ordinal number in `Benchmark_Driver`, as is supported by `Benchmark_O`(`Onone`, `Ounchecked`).

Updated documentation to reflect this.
2017-06-12 20:50:00 +02:00
Pavol Vaskovic
b93a3cab65 Update docs to reflect replacement of jinja by gyb 2017-05-20 20:48:30 +02:00
practicalswift
3918d9d251 [gardening] Replace likely word processor artefacts with ASCII equivalents (— → --, … → ...) 2017-01-08 15:23:06 +01:00
practicalswift
b9dd782e4b [gardening] Fix recently introduced file header. Also: "–" → "--". 2016-03-03 23:10:43 +01:00
Patrick Pijnappel
4754285879 Clarify usage of N in benchmark README 2016-03-03 08:55:21 +11:00
practicalswift
e678f7a141 [gardening] Fix recently introduced typos 2016-02-09 14:18:10 +01:00
Luke Larson
0356ec8ec3 Add Swift Benchmark Suite 2016-02-08 10:47:58 -08:00