Messages in this thread | | | Date | Tue, 19 Mar 2019 11:14:12 +0000 | From | Charles Keepax <> | Subject | Re: [PATCH 2/2] regmap: debugfs: Jump to the next readable register |
| |
On Tue, Mar 19, 2019 at 09:41:33AM +0000, Lucas Tanure wrote: > Improve the speed of the loop jumping to the next > available register > > Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com> > ---
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
A very brief look shows a pretty reasonable speed up on the massive wm5110 register map.
First regmap cat on wm5110: pre-patch: real 2m40.865s sys 2m21.104s
post-patch: real 2m16.550s sys 2m5.799s
Repeat cat on wm5110: pre-patch: real 2m5.635s sys 2m0.030s
post-patch: real 1m45.539s sys 1m44.552s
Thanks, Charles
| |