lkml.org 
[lkml]   [2019]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2019-03-19 12:15    [W:0.056 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site