test_performance target in Makefile

This commit is contained in:
Gwendal Roué committed 2025-02-01 13:29:49 +01:00
1 parent 273a95339c
commit 51dbeb3933
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -24,4 +24,4 @@ To release a new GRDB version:
- `pod trunk push --allow-warnings GRDB.swift.podspec`
- Update [performance comparison](https://github.com/groue/GRDB.swift/wiki/Performance):
`make test_performance | Tests/parsePerformanceTests.rb | Tests/generatePerformanceReport.rb`
`make test_performance_comparison | Tests/parsePerformanceTests.rb | Tests/generatePerformanceReport.rb`
+4
View File
@@ -3,6 +3,7 @@
#
# make test - Run all tests but performance tests
# make test_performance - Run performance tests
# make test_performance_comparison - Run performance comparison tests
# make doc - Generate DocC documentation
# make clean - Remove build artifacts
# make distclean - Restore repository to a pristine state
@@ -386,6 +387,9 @@ test_GRDBDemo:
$(XCPRETTY)
test_performance:
GRDB_PERFORMANCE_TESTS=1 $(SWIFT) test --configuration release --filter GRDBPerformanceTests
test_performance_comparison:
$(XCODEBUILD) \
-project Tests/Performance/GRDBPerformance/GRDBPerformance.xcodeproj \
-scheme GRDBOSXPerformanceComparisonTests \