Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
suppress rusage deltas from watchman perf logs
Summary: This just suppresses the `getrusage` delta keys from the perf samples that show up like this for slow queries: before: ``` 018-02-16T11:04:15,780: [sanitychecks] PERF: {"ru_nvcsw": 1, "ru_nsignals": 0, "ru_msgrcv": 2, "ru_msgsnd": 2, "ru_inblock": 0, "ru_majflt": 0, "ru_nswap": 0, "ru_minflt": 5, "ru_ixrss": 0, "ru_maxrss": 0, "system_time": 0.00046200000000000001, "user_time": 0.00022499999999999999, "elapsed_time": 0.48896899999999999, "pid": 63713, "ru_idrss": 0, "meta": {"root": {"path": "/Users/wez/fb/watchman-fbsource"}}, "version": "4.9.1", "ru_oublock": 0, "ru_nivcsw": 7, "start_time": 1518807855.291414, "description": "clock-test"} ``` after: ``` 2018-02-16T11:15:39,272: [sanitychecks] PERF: {"system_time": 0.00093199999999999999, "user_time": 0.00042200000000000001, "elapsed_time": 9.7929099999999991, "pid": 82727, "meta": {"root": {"path": "/Users/wez/fb/watchman-fbsource"}}, "start_time": 1518808529.479985, "version": "4.9.1", "description": "clock-test"} ``` Reviewed By: simpkins Differential Revision: D7013001 fbshipit-source-id: b2fbb99f6111e92984840e9970cfb2202c586f45
- Loading branch information