Re: cabal bench implemented

2011-10-25 Thread Bas van Dijk
On 25 October 2011 03:00, Johan Tibell wrote: > Just wanted to advertise that 'cabal bench' is now implement and pushed to > HEAD. Please try it out. It's described in the user guide. Great! I'l be sure to check it out on some of by packages with benchmarks. Bas

Re: Package logo's

2011-10-25 Thread Tillmann Rendel
Hi, Bas van Dijk wrote: Tillmann Rendel wrote: Wouldn't it be more in line with the rest of the cabal infrastructure to specify the logo file in the cabal file, similar to, e.g., the license file? Yes it would be more in line. But apart from that, what advantage would it have? I see this g

Re: [Hackage] #857: Decide what to do about licenses

2011-10-25 Thread Hackage
#857: Decide what to do about licenses +--- Reporter: duncan |Owner: Type: task | Status: new Priority: normal |Milestone: Component: Cabal libra

Re: [Hackage] #821: Add support for Apache license

2011-10-25 Thread Hackage
#821: Add support for Apache license +--- Reporter: bos|Owner: Type: enhancement| Status: new Priority: normal |Milestone: Component: Cabal library

Re: Package logo's

2011-10-25 Thread Bas van Dijk
On 25 October 2011 10:48, Tillmann Rendel wrote: > I see many good reasons for both naming conventions and explicit > configuration. I just wonder whether it is a good idea to switch from one to > the other in the middle of Cabal's success story. I see your point. I just remembered I proposed th

Re: cabal bench implemented

2011-10-25 Thread Simon Meier
Cool. Great stuff. I'll try it out on my 'bytestring' builder work. 2011/10/25 Bas van Dijk : > On 25 October 2011 03:00, Johan Tibell wrote: >> Just wanted to advertise that 'cabal bench' is now implement and pushed to >> HEAD. Please try it out. It's described in the user guide. > > Great! I'l

Re: cabal bench implemented

2011-10-25 Thread Simon Meier
Hi Johan, I tried out the new interface on the example you give in the documentation. However, it was missing the 'time' dependency. This is fixed in the attached patch. There was also a small typo in the explanation of '--enable-benchmarks'; also fixed in attached patch. I have two open question

Re: cabal bench implemented

2011-10-25 Thread Bas van Dijk
Hi Johan, There's a small typo in the Benchmarks section in the user guide. The attached patch fixes it. I'm going to try it out on one of my packages now... Bas benchmarks-doc-fix.dpatch Description: Binary data ___ cabal-devel mailing list cabal-de

hackage-server memory requirements

2011-10-25 Thread Bas van Dijk
Hello, What are the typical memory requirements to run hackage-server (as a mirror of the current hackage). The reason I ask is that I tried mirroring hackage on my 4GB desktop machine. I let it mirror overnight but when I came back in the morning the machine was completely unresponsive. It turne

Re: cabal bench implemented

2011-10-25 Thread Bas van Dijk
On 25 October 2011 20:45, Bas van Dijk wrote: > I'm going to try it out on one of my packages now... Works great: https://github.com/basvandijk/vector-bytestring/blob/cabal_bench/vector-bytestring.cabal#L74 A "cabal bench" command would be nice indeed. Thanks a lot for this feature! Bas

Re: hackage-server memory requirements

2011-10-25 Thread Max Bolingbroke
On 25 October 2011 20:23, Bas van Dijk wrote: > Does this sound like a memory leak or does hackage-server actually > require more than 4GB memory? Wow! The SoC student reported memory usage of about ~700MB with a full import from the Hackage of the time: http://cogracenotes.wordpress.com/page/2/

patch applied (cabal): "typos in benchmarks documentation/help" and 1 others

2011-10-25 Thread Johan Tibell
Tue Oct 25 11:30:32 PDT 2011 Simon Meier * typos in benchmarks documentation/help M ./Cabal/Distribution/Simple/Setup.hs -1 +1 M ./Cabal/doc/developing-packages.markdown -1 +1 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20111025183032-

Re: cabal bench implemented

2011-10-25 Thread Johan Tibell
Hi Simon, Thanks for trying it out and thanks for the patch. I've pushed it to HEAD. On Tue, Oct 25, 2011 at 11:37 AM, Simon Meier wrote: > I have two open questions: > > * Is the >= 1.9.2 interface the right interface? From the changelog, I > would assume that it is already public and contains

Re: cabal bench implemented

2011-10-25 Thread Johan Tibell
On Tue, Oct 25, 2011 at 12:45 PM, Bas van Dijk wrote: > A "cabal bench" command would be nice indeed. > See my reply to Simon. -- Johan ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: cabal bench implemented

2011-10-25 Thread Johan Tibell
Applied. Thanks for the patch! On Tue, Oct 25, 2011 at 11:45 AM, Bas van Dijk wrote: > Hi Johan, > > There's a small typo in the Benchmarks section in the user guide. The > attached patch fixes it. > > I'm going to try it out on one of my packages now... > > Bas > ___

Re: hackage-server memory requirements

2011-10-25 Thread Bas van Dijk
On 25 October 2011 22:53, Max Bolingbroke wrote: > Do you still see 4GB usage if you restart the server? No, after restarting it was less but, if I remember correctly, still over 700MB. > Another thing to do would be to heap profile the server.. it would be > very interesting to know what is goi

Re: cabal bench implemented

2011-10-25 Thread Bas van Dijk
On 25 October 2011 23:52, Johan Tibell wrote: >> * It would be cool to have a 'cabal bench' command that builds and >> executes the benchmarks. > > There already is one, I just haven't documented it yet. It works just like > 'cabal test'. Example: >     cabal configure --enable-benchmarks >     ca

patch applied (cabal): "Briefly document 'cabal test' and 'cabal bench'"

2011-10-25 Thread Johan Tibell
Tue Oct 25 17:27:38 PDT 2011 Johan Tibell * Briefly document 'cabal test' and 'cabal bench' M ./Cabal/doc/developing-packages.markdown +27 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20111026002738-73595-01272e10c223b5a8ca8a0bece01aca10af5

Re: cabal bench implemented

2011-10-25 Thread Johan Tibell
On Tue, Oct 25, 2011 at 3:29 PM, Bas van Dijk wrote: > On 25 October 2011 23:52, Johan Tibell wrote: > >> * It would be cool to have a 'cabal bench' command that builds and > >> executes the benchmarks. > > > > There already is one, I just haven't documented it yet. It works just > like > > 'cab

patch applied (cabal): "Register 'bench' command with the CLI"

2011-10-25 Thread Johan Tibell
Tue Oct 25 17:53:09 PDT 2011 Johan Tibell * Register 'bench' command with the CLI M ./cabal-install/Main.hs +3 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20111026005309-73595-d634dd1cc3518b8b7f91d2fa728872c99655c35f.gz _

Re: cabal bench implemented

2011-10-25 Thread Johan Tibell
My bad, 'cabal bench' now works. -- Johan ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: patch applied (cabal): "Describe benchmark sections in the user guide"

2011-10-25 Thread Johan Tibell
On Mon, Oct 24, 2011 at 7:09 PM, Conrad Parker wrote: > (I wish this project was in git so I could just reply to the patch inline > ;-) > > Regarding this comment in the docs: > > +For brevity, the example package > +does not include a library or any normal executables, but a real package > would