zhangzhuqian / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Feature: Initial population #89

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some of the repositories I'm working with are imports with no prior history. 
One of them, in particular, has around 4000 files in the initial import. This 
causes Gource to go a little nutty in the first few frames.

I'd like to be able to run all the events up until a certain time without 
rendering. Once it reaches that time, allow the graph to settle before starting 
to render.

Or, at least, apply this to the ppm stream.

Original issue reported on code.google.com by kfs...@gmail.com on 8 Aug 2010 at 8:24

GoogleCodeExporter commented 8 years ago
Not quite sure what you mean by nutty, though maybe you want to add 
--max-file-lag 0.00001 so files appear instantly, if you aren't drawing the 
users. 

Original comment by acaudw...@gmail.com on 8 Aug 2010 at 11:35

GoogleCodeExporter commented 8 years ago
I tried 0.00001 - actually :) It produces a catherine-wheel like effect rather 
than all appearing instantly. Could you maybe make max-file-lag accept a value 
of zero?

Original comment by kfs...@gmail.com on 9 Aug 2010 at 8:43

GoogleCodeExporter commented 8 years ago
Yes it probably could be made to allow zero... :)

I suppose you need two options, one to say how many seconds worth to buffer (if 
those are the best units to use), and one for a limit on how many seconds feed 
the simulation as fast as possible (and without incrementing the 'log' time) to 
let the simulation settle down (though I suppose in most cases a good default 
value with suffice).

Original comment by acaudw...@gmail.com on 9 Aug 2010 at 9:28