git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v11 2/5] p0006-read-tree-checkout: perf test to time read-tree

From
Jeff King <peff@peff.net>
Date
Apr 19, 2017, 01:25 UTC
Message-ID
<20170419012528.2xjnwrpgvlsgzszj@sigill.intra.peff.net>
In-Reply-To
<20170418214025.GA4989@hank>
On Tue, Apr 18, 2017 at 10:40:25PM +0100, Thomas Gummerer wrote:
Show 8 quoted lines
> > +test_perf_default_repo
> 
> I like that it's possible to use a real world repository now instead
> of forcing the use of a synthetic repository :)
> 
> Is there a reason for this being test_perf_default_repo instead of
> test_perf_large_repo?  It seems like generating a large repo is what
> you are doing with repos/many-files.sh.

I'm actually of the opinion that the default/large repo thing should go away. I think the original premise was that you could pick a default/large pair and run the whole suite against them. But in reality, I have always been confused about which one I should use when writing a perf test, and what I should use when running the suite.

I think it would be more useful for the perf tests to just respect a single repo parameter. Then you could run the whole suite against each repo in turn. And we could get results for git.git, linux.git, some synthetic cases, the gigantic Windows repo, etc.

-Peff
Previous: Thomas GummererNext: git@jeffhostetler.com
Message 6 of 8 in “read-cache: speed up add_index_entry”
  1. 0/5 read-cache: speed up add_index_entrygit@jeffhostetler.com, Apr 17, 2017
  2. 1/5 read-cache: add strcmp_offset functiongit@jeffhostetler.com, Apr 17, 2017
  3. 3/5 read-cache: speed up add_index_entry during checkoutgit@jeffhostetler.com, Apr 17, 2017
  4. 2/5 p0006-read-tree-checkout: perf test to time read-treegit@jeffhostetler.com, Apr 17, 2017
  5. Thomas GummererApr 18, 2017
  6. Jeff KingApr 19, 2017
  7. 4/5 read-cache: speed up has_dir_name (part 1)git@jeffhostetler.com, Apr 17, 2017
  8. 5/5 read-cache: speed up has_dir_name (part 2)git@jeffhostetler.com, Apr 17, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.