Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aChase55 committed Sep 10, 2020
1 parent 40d1c88 commit 6397d9b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Just add this line to your Dangerfile:
xcprofiler.report 'MyApp'
```

Or specify an xcactivitylog path
```ruby
logDir = Dir[File.join('DerivedData/Logs/Build/', '*.xcactivitylog')].first
xcprofiler.report nil, nil, logDir
```

If compilation times of each methods are exceeded the thresholds, `danger` adds inline comment to your PR.

Default thresholds is 50ms for warning, 100ms for failure.
Expand Down

0 comments on commit 6397d9b

Please sign in to comment.