I did a quick perf check using WebGrind, and found that we have a lot of unnecessary preg_matches() during MARC processing; this patch fixes that.
Testing this patch: performance goes up 5-6x during offline refreshing of 91 nodes (see attached screenshot)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | millennium-651716-2.patch | 1.22 KB | janusman |
| webgrind 2009-12-04_180057.png | 90.61 KB | janusman | |
| millennium-preg_match-perf.patch | 6.28 KB | janusman |
Comments
Comment #1
janusman commentedCommitted last patch.
Comment #2
janusman commentedDOH! Brown bag fix::
Committed this patch.
Comment #3
janusman commentedChecked again: Performance increase is minimal... brown bag will remain on this developer's head for 3 days.
HOWEVER, there might be other areas to improve? =) Leaving open for those =)