Re: [PATCH (performance tracing)] test git-status performance

2014-07-26 Thread Duy Nguyen
On Sat, Jul 26, 2014 at 4:59 PM, Duy Nguyen wrote: > On Wed, Jun 25, 2014 at 5:56 AM, Karsten Blees > wrote: >> Add trace_performance output to functions involved in git-status. >> >> Signed-off-by: Karsten Blees > > Should this patch be merged to git.git? It's useful for tracking > performance

Re: [PATCH (performance tracing)] test git-status performance

2014-07-26 Thread Duy Nguyen
On Wed, Jun 25, 2014 at 5:56 AM, Karsten Blees wrote: > Add trace_performance output to functions involved in git-status. > > Signed-off-by: Karsten Blees Should this patch be merged to git.git? It's useful for tracking performance (of git-status) and does not seem to have any negative impacts.

Re: [PATCH (performance tracing)] test git-status performance

2014-06-26 Thread Duy Nguyen
On Wed, Jun 25, 2014 at 5:56 AM, Karsten Blees wrote: > void wt_status_collect(struct wt_status *s) > { > + uint64_t start = getnanotime(); > + > wt_status_collect_changes_worktree(s); > > + trace_performance_since(start, "wt_status_collect_changes_worktree"); > + start

[PATCH (performance tracing)] test git-status performance

2014-06-24 Thread Karsten Blees
Add trace_performance output to functions involved in git-status. Signed-off-by: Karsten Blees --- Applies on top of performance-tracing topic. builtin/commit.c | 8 preload-index.c | 4 read-cache.c | 2 ++ wt-status.c | 11 +++ 4 files changed, 25 insertion