Commit dea577d
Warn when benchmarks run before init
Summary: Print a warning when `folly::runBenchmarks` is used before running `folly::Init` (or a direct initialization of gflags) first.
Reviewed By: yfeldblum
Differential Revision: D116830471
fbshipit-source-id: 84b51315e26067f21a89ffe572e35c89bc54b9e61 parent ebd06c1 commit dea577d
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
807 | 820 | | |
808 | 821 | | |
809 | 822 | | |
| |||
1367 | 1380 | | |
1368 | 1381 | | |
1369 | 1382 | | |
| 1383 | + | |
| 1384 | + | |
1370 | 1385 | | |
1371 | 1386 | | |
1372 | 1387 | | |
| |||
0 commit comments