Re: [racket-dev] Fwd: [shootout-Feature Requests][312552] Scheme PLT should be renamed to Racket

2010-06-18 Thread Vincent St-Amour
At Fri, 18 Jun 2010 08:38:24 -0500,
Robby Findler wrote:
 We're talking about this code, right?
 
 http://shootout.alioth.debian.org/u32/program.php?test=mandelbrotlang=racketid=2
 
 It is already unsafe, I think?

No, it uses fl+ and friends. An unsafe version would use unsafe-fl+
instead.

Vincent
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Fwd: [shootout-Feature Requests][312552] Scheme PLT should be renamed to Racket

2010-06-18 Thread Vincent St-Amour
At Fri, 18 Jun 2010 10:05:57 -0500,
Robby Findler wrote:
 Perhaps it suggests a bug in the interaction between that fancy
 require operator and the optimizer?

Actually, the benchmark on the shootout webpage is named
mandelbrot-unsafe.rkt in the repository. The version I had in mind is
mandelbrot.rkt, which does use fl+ without renaming it.

After running mandelbrot-unsafe.rkt 50 times, it does show some
variance in the running times (it runs for between 7 and 10 seconds,
with times following what looks like a normal distribution), but much
less than mandelbrot.rkt (between 19 and 40 seconds, with times
following a bimodal distribution, with peaks around 20 and 40). The
small variation for mandelbrot-unsafe.rkt (combined with the fact that
times are distributed normally) indicates that it's probably noise. On
the other hand, the bimodal distribution observed on mandelbrot.rkt is
probably a sign that something weird is going on.

The slowdown observed on the shootout webpage, since it's based on
mandelbrot-unsafe.rkt, could thus be caused by the upgrade to 5.0. The
running time inconsistencies due to fl+ and co is likely a separate
issue.

Vincent
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Fwd: [shootout-Feature Requests][312552] Scheme PLT should be renamed to Racket

2010-06-18 Thread Robby Findler
On Fri, Jun 18, 2010 at 10:41 AM, Vincent St-Amour stamo...@ccs.neu.edu wrote:
 The slowdown observed on the shootout webpage, since it's based on
 mandelbrot-unsafe.rkt, could thus be caused by the upgrade to 5.0.

I'm not sure where to get the mandlebrot-unsafe.rkt that was
distributed with 4.2.5 (Eli?) but so far I'm not seeing any time
difference between running 4.2.5 on the one in the archive (after
changing the rackets back to schemes) and v5.0.0.1 I'm also not
seeing any difference between v5.0.0.1 with the scheme version and the
racket version.

So there's still a mystery here to be solved somewhere! I'm running on
a mac, tho -- could it be a linux-specific issue?

Robby
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev