On Sat, Mar 5, 2016 at 8:09 AM, Matthew Flatt wrote:
> If you start DrRacket fresh or create a new tab and paste
>
> (define (total n)
> (for/sum ([x (in-range (+ 1 n))]) x))
> (time (total 10))
>
> into the interactions window, then it runs at
Here's a recap of a few points, now that I've spent some time
investigating the issue.
Replicating the problem and detecting debugging mode:
If you start DrRacket fresh or create a new tab and paste
(define (total n)
(for/sum ([x (in-range (+ 1 n))]) x))
(time (total 10))
On Wed, 02 Mar 2016 22:23:29 -0600,
Matthew Flatt wrote:
> Instead of using the existence of a source location to determine where
> to add instrumentation, debugging should be based on the details of the
> source location. I'm not immediately sure of the right rule, but I'll
> work on it.
Would
Alex Harsanyi wrote on 03/02/2016 11:19 PM:
If it cannot be improved, perhaps a warning message should be printed
in the eval window...
I like this idea. Maybe add to the DrRacket REPL banner, the
debugging/instrumentation options that are enabled.
Welcome to DrRacket, version 6.4 [3m].
I see that there's a big difference in the effect of debugging mode for
this example in v6.3-v6.4 compared to earlier versions.
On my machine:
Racket DrRacket
with debugging
v6.2 ~2500 ms ~3800 ms
v6.4 ~2500 ms ~63000 ms
In both versions,
On Thursday, March 3, 2016 at 11:06:56 AM UTC+8, Matthias Felleisen wrote:
> 1. Don’t ever measure anything in drracket (version 6.4.1 or earlier).
Perhaps this explains why you could not reproduce the problem :-)
DrRacket is the tool most people use to write Racket programs, and I suspect a
1. Don’t ever measure anything in drracket (version 6.4.1 or earlier).
2. Are you comparing two different installations of Racket like the OP does? Or
are you just saying something is slow sometimes?
> On Mar 2, 2016, at 8:21 PM, Alex Harsanyi wrote:
>
> I have
Something is wrong with your installation. 6.4 is in the same ball park as 6.1
Can you share the code that runs 20x slower? Thanks — Matthias
> On Mar 1, 2016, at 10:51 PM, vkelmenson via Racket Users
> wrote:
>
> I recently downloaded Racket version 6.4. I
I recently downloaded Racket version 6.4. I have previously been using version
6.1. It is much slower than version 6.1. Several short functions run approx 20
times slower on 6.4 than 6.1. These were run at the same time on the sam matine
in succession.
I am using Mac osX version 10.8.5
Has
9 matches
Mail list logo