I'm not C/C++ expert, but it seems odd to me that we include debugging symbols on a normal xhpast build... doesn't this have some performance overhead?
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rPHU361c81c2960e: Don't include debugging symbols in XHPAST by default
N/A
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Running a simple script to investigate the impact of this change:
#!/bin/bash rm -f src/.phutil_module_cache ./scripts/build_xhpast.php time ./scripts/phutil_rebuild_map.php src
Before
real 0m26.442s user 1m1.528s sys 0m10.568s
After
real 0m21.172s user 0m59.420s sys 0m9.676s