Searched hist:"5 dfc0f6c530cd93d79bd9d18b8f61b6ce8d5e6f1" (Results 1 – 2 of 2) sorted by relevance
/freebsd/sbin/devd/ |
H A D | devd.hh | diff 5dfc0f6c530cd93d79bd9d18b8f61b6ce8d5e6f1 Thu Jan 31 00:37:35 CET 2013 Ian Lepore <ian@FreeBSD.org> Improve devd startup time, by tweaking some string handling routines that are heavily used when parsing config files. Mostly these changes avoid making temporary copies of the strings, and avoid doing byte at a time append operations, on the most-used code path.
On a 1.2 GHz ARM processor this reduces the time to parse the config files from 13 to 6 seconds.
Reviewed by: imp Approved by: cognet (mentor)
|
H A D | devd.cc | diff 5dfc0f6c530cd93d79bd9d18b8f61b6ce8d5e6f1 Thu Jan 31 00:37:35 CET 2013 Ian Lepore <ian@FreeBSD.org> Improve devd startup time, by tweaking some string handling routines that are heavily used when parsing config files. Mostly these changes avoid making temporary copies of the strings, and avoid doing byte at a time append operations, on the most-used code path.
On a 1.2 GHz ARM processor this reduces the time to parse the config files from 13 to 6 seconds.
Reviewed by: imp Approved by: cognet (mentor)
|