commit | 09af1810a11f40d88c9447ac4c2b5e6e4308f080 | [log] [tgz] |
---|---|---|
author | scottmg@chromium.org <scottmg@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af> | Mon Apr 28 16:35:02 2014 +0000 |
committer | scottmg@chromium.org <scottmg@chromium.org@78cadc50-ecff-11dd-a971-7dbc132099af> | Mon Apr 28 16:35:02 2014 +0000 |
tree | 20c9cb6229b68c7b710a1f26edba88931f7311d1 | |
parent | f983231492d1bdcfedd4141a8898316539f7856c [diff] |
1-5% faster gyp: Use a simpler deepcopy. The system deepcopy supports recursive objects or non-tree structures. Those structures don't exist in gyp so save 2-3 seconds CPU time (0.3-1s clock time with 8 cores) by using a simpler implementation. Patch from bratell@opera.com. BUG=362075 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/233283002 git-svn-id: http://gyp.googlecode.com/svn/trunk@1908 78cadc50-ecff-11dd-a971-7dbc132099af