diff --git a/Documentation/ReleaseProcess.md b/Documentation/ReleaseProcess.md index 30379d434..5eba9ad25 100644 --- a/Documentation/ReleaseProcess.md +++ b/Documentation/ReleaseProcess.md @@ -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` diff --git a/Makefile b/Makefile index 9c91521f3..6b7a158c8 100644 --- a/Makefile +++ b/Makefile @@ -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 \