Page MenuHomePhabricator

Don't include debugging symbols in XHPAST by default
ClosedPublic

Authored by joshuaspence on Jul 8 2015, 7:31 AM.
Tags
None
Referenced Files
F14111839: D13596.diff
Wed, Nov 27, 11:08 PM
Unknown Object (File)
Sun, Nov 24, 5:38 AM
Unknown Object (File)
Sat, Nov 23, 1:51 PM
Unknown Object (File)
Mon, Nov 18, 11:25 AM
Unknown Object (File)
Thu, Nov 14, 6:45 AM
Unknown Object (File)
Wed, Nov 13, 9:52 PM
Unknown Object (File)
Wed, Nov 6, 9:11 PM
Unknown Object (File)
Oct 20 2024, 3:13 PM
Subscribers

Details

Summary

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?

Test Plan

N/A

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Don't include debugging symbols in XHPAST by default.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

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
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jul 8 2015, 7:38 AM
This revision was automatically updated to reflect the committed changes.