Is there any way to create a "snapshot" of a project from a git based repository. Something that creates a "condensed" old style mcz package ?Loading bloc for example creates over 20.000 files. |
On dim. 10 déc. 2017 at 15:07, Nicolai Hess <[hidden email]> wrote:
Hi, This is one of the reasons Esteban created Tonel I think. With Tonel there is 1 file par class instead of 1 file per method. Once it will be really stable, moving projects to Tonel should speed up things on Windows. -- Cyril Ferlicot
https://ferlicot.fr http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France |
Op 10-12-2017 om 15:44 schreef Cyril Ferlicot:
> On dim. 10 déc. 2017 at 15:07, Nicolai Hess <[hidden email] wrote: >> And I don't mean 1 or 2 thousand files. >> Loading bloc for example creates over 20.000 files. >> >> This is damn slow on windows. > > This is one of the reasons Esteban created Tonel I think. With Tonel > there is 1 file par class instead of 1 file per method. Once it will be > really stable, moving projects to Tonel should speed up things on Windows. Indeed. An even larger problem is the write amplification: Minimium disk file size of 4KB means a slow down of a factor 20. 1 (primary) file per class and sorting the methods helps a lot. Doing that in a cross-platform compatible way so we can easier share source code needs some further refinement Stephan |
> On 10 Dec 2017, at 21:37, Stephan Eggermont <[hidden email]> wrote: > > Op 10-12-2017 om 15:44 schreef Cyril Ferlicot: >> On dim. 10 déc. 2017 at 15:07, Nicolai Hess <[hidden email] wrote: >>> And I don't mean 1 or 2 thousand files. >>> Loading bloc for example creates over 20.000 files. >>> This is damn slow on windows. >> This is one of the reasons Esteban created Tonel I think. With Tonel there is 1 file par class instead of 1 file per method. Once it will be really stable, moving projects to Tonel should speed up things on Windows. > > Indeed. An even larger problem is the write amplification: Minimium disk file size of 4KB means a slow down of a factor 20. 1 (primary) file per class and sorting the methods helps a lot. Doing that in a cross-platform compatible way so we can easier share source code needs some further refinement and btw since we moved pharo to tonel windows is a viable platform: commits became seconds instead minutes (lots of minutes). still work to do there, but we are getting closer… ;) Esteban > > Stephan > > |
nice to hear that my very old complaint about filetrees habit of breaking down everything to small files has caught and there is even a project I am not aware of that deal with this. Though my motivation was mostly readability and not speed of loading. Great work! :) On Mon, Dec 11, 2017 at 11:35 AM Esteban Lorenzano <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |