Nico Swart wrote: > I recently got clojure source and rebuilt clojure.jar. I noticed that > the performance is > significantly worse with the new clojure.jar compared to a older > clojure.jar. Everything else is the same, I just change > the clojure.jar file and the performance is 4x slower. Below the output > - Note the runtimes. > The application is just a solution finder to a solitaire type problem. > Incidently, the equivalent solution > in Clisp runs in < 10s. > > ------------------------- > With new clojure.jar > ------------------------- > user=> (time (find-sol-biz 25000)) > > OOO > OOO > OOOOOOO > OOOXOOO > OOOOOOO > OOO > OOO > > "Elapsed time: 108985.946259 msecs" > ((10 24) (15 17) (30 16) (17 15) (19 17) (4 18) (2 4) (25 11) (4 18) (14 > 16) (9 23) (17 19) (20 18) (39 25) (18 32) (44 30) (23 37) (21 23) (23 > 25) (25 39) (27 25) (46 32) (25 39) (28 30) (30 44) (34 32) (31 33) (44 > 46) (46 32) (33 31) (38 24)) > user=> > > ------------------------------------ > With previous clojure.jar > --------------------------- > (time (find-sol-biz 25000)) > > OOO > OOO > OOOOOOO > OOOXOOO > OOOOOOO > OOO > OOO > > "Elapsed time: 27402.569601 msecs" > ((10 24) (15 17) (30 16) (17 15) (19 17) (4 18) (2 4) (25 11) (4 18) (14 > 16) (9 23) (17 19) (20 18) (39 25) (18 32) (44 30) (23 37) (21 23) (23 > 25) (25 39) (27 25) (46 32) (25 39) (28 30) (30 44) (34 32) (31 33) (44 > 46) (46 32) (33 31) (38 24)) > user=>
Can you kindly attach the code that you used to test? Regards, BG -- Baishampayan Ghose <b.gh...@ocricket.com> oCricket.com
signature.asc
Description: OpenPGP digital signature