[racket-users] Re: Racket 6.4 very slow
On Tuesday, March 1, 2016 at 8:51:58 PM UTC-7, vkelm...@aol.com wrote: > 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 anyone else noticed this? Thanks everyone for your interest and suggestions. I have been away from a computer for a while. The problem is as Matthias says the debugging. In DrRacket 6.4 debugging is on by default. In my installation of 6.1 it is off by default. With debugging off on version 6.4 the difference between the 2 installations on the same computer is approx. 1/10 of a second. Victor Kelmenson -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] Re: Racket 6.4 very slow
I have the same problem with Racket 6.4 64Bit Windows (running on Windows 7): > (time (total 10)) cpu time: 85520 real time: 88070 gc time: 204 BTW, my "Choose Language" dialog box (Ctrl+L) has the following selected: * Debugging * Populate "compiled directories" * Preserve stack trace * Enforce constant definitions When disabling the "Debugging", the time goes down significantly: > (time (total 10)) cpu time: 4555 real time: 5036 gc time: 63 If I also disable the "Preserve stack trace option", the time goes down a bit more: > (time (total 10)) cpu time: 3619 real time: 3662 gc time: 31 I did not expect the debugging option to have such a huge impact. I don't even know what it does, as there is a separate "Debug" button in the toolbar, which seems to work even when the option is disabled. BTW, I ran raco setup as suggested in a previous message and after that, DrRacket would not start up anymore [1] and I had to do a fresh install. Racket was installed from the default installer package from racket-lang.org. No additional packages added and the installation was not modified in any way. Best Regards, Alex. [1] https://drive.google.com/file/d/0B5h4XOdkim72bm04eDBGNWpFZ0E/view?usp=sharing -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] Re: Racket 6.4 very slow
Could it be that the OS X 10.8.5 has something to do with it? Does anybody else have an 10.8 (Mountain Lion) installation? /Jens Axel 2016-03-02 20:39 GMT+01:00 vkelmenson via Racket Users < racket-users@googlegroups.com>: > On Tuesday, March 1, 2016 at 10:51:58 PM UTC-5, vkelm...@aol.com wrote: > > 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 anyone else noticed this? > > Obviously something is wrong with my setup. I uninstalled version 6.4 from > my computer and reinstalled the dmg from the download site. It is still the > same. I am not going to have access to my desktop for about 10 days. I will > see what happens with a laptop. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] Re: Racket 6.4 very slow
If your Racket install is good... You might have instrumentation-heavy settings in DrRacket, and/or the compilation of your files is somehow corrupted. Or maybe the cause is with your computer. Try running your program from the command line, and after deleting your "compiled" directories for your code and re-compiling your code. And make sure that some non-Racket issue with your computer isn't slowing it down (check expensive running processes for CPU/RAM/I/O contention, check system logs for hardware errors, check that CPU is not scaling for battery-saving, etc.). Neil V. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[racket-users] Re: Racket 6.4 very slow
On Tuesday, March 1, 2016 at 10:51:58 PM UTC-5, vkelm...@aol.com wrote: > 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 anyone else noticed this? Obviously something is wrong with my setup. I uninstalled version 6.4 from my computer and reinstalled the dmg from the download site. It is still the same. I am not going to have access to my desktop for about 10 days. I will see what happens with a laptop. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] Re: Racket 6.4 very slow
2016-03-02 19:26 GMT+01:00 vkelmenson via Racket Users < racket-users@googlegroups.com>: > Also: When I am typing in the interactions pane of 6.4 there is often a > 1-2 second delay before my > keystrokes show up. > > It sounds as if something went wrong during the installation on Racket. How did you install it? If you compiled it yourself, you most likely forgot to run raco setup. The downloads from download.racket-lang.org contains precompiled files. /Jens Axel -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] Re: Racket 6.4 very slow
In general, times reported in DrRacket are unreliable. See: https://docs.racket-lang.org/guide/performance.html#%28part._.Dr.Racket-perf%29 Try the command line. Here's what I get on my machine: $ ~/racket61/bin/racket Welcome to Racket v6.1. -> (define (total n) (for/sum ([x (in-range (+ 1 n))]) x)) -> (time (total 10)) cpu time: 3044 real time: 3051 gc time: 0 55 $ ~/racket62/bin/racket Welcome to Racket v6.2. -> (define (total n) (for/sum ([x (in-range (+ 1 n))]) x)) -> (time (total 10)) cpu time: 3036 real time: 3046 gc time: 0 55 $ ~/racket63/bin/racket Welcome to Racket v6.3. -> (define (total n) (for/sum ([x (in-range (+ 1 n))]) x)) -> (time (total 10)) cpu time: 3040 real time: 3045 gc time: 0 55 $ ~/racket64/bin/racket Welcome to Racket v6.4. -> (define (total n) (for/sum ([x (in-range (+ 1 n))]) x)) -> (time (total 10)) cpu time: 3036 real time: 3041 gc time: 0 55 On Wed, Mar 2, 2016 at 1:31 PM, Matthias Felleisen wrote: > > It sounds like your files are not compiled. Try > > raco setup > > in a shell. You may need to supply some command line flags if your files are > half way compiled. > > (Your examples runs in 3200 ms on my Mac in Racket 6.4.1) > > > > On Mar 2, 2016, at 1:26 PM, vkelmenson via Racket Users > wrote: > >> On Tuesday, March 1, 2016 at 10:51:58 PM UTC-5, vkelm...@aol.com wrote: >>> 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 anyone else noticed this? >> >> (define (total n) >> (for/sum ([x (in-range (+ 1 n))]) x)) >> (time (total 10)) >> in Racket 6.1 just now 5287 milliseconds. In Racket 6.4 102384 milliseconds. >> Also: When I am typing in the interactions pane of 6.4 there is often a 1-2 >> second delay before my >> keystrokes show up. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Racket Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to racket-users+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [racket-users] Re: Racket 6.4 very slow
It sounds like your files are not compiled. Try raco setup in a shell. You may need to supply some command line flags if your files are half way compiled. (Your examples runs in 3200 ms on my Mac in Racket 6.4.1) On Mar 2, 2016, at 1:26 PM, vkelmenson via Racket Users wrote: > On Tuesday, March 1, 2016 at 10:51:58 PM UTC-5, vkelm...@aol.com wrote: >> 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 anyone else noticed this? > > (define (total n) > (for/sum ([x (in-range (+ 1 n))]) x)) > (time (total 10)) > in Racket 6.1 just now 5287 milliseconds. In Racket 6.4 102384 milliseconds. > Also: When I am typing in the interactions pane of 6.4 there is often a 1-2 > second delay before my > keystrokes show up. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[racket-users] Re: Racket 6.4 very slow
On Tuesday, March 1, 2016 at 10:51:58 PM UTC-5, vkelm...@aol.com wrote: > 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 anyone else noticed this? (define (total n) (for/sum ([x (in-range (+ 1 n))]) x)) (time (total 10)) in Racket 6.1 just now 5287 milliseconds. In Racket 6.4 102384 milliseconds. Also: When I am typing in the interactions pane of 6.4 there is often a 1-2 second delay before my keystrokes show up. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[racket-users] Re: Racket 6.4 very slow
On Tuesday, March 1, 2016 at 10:51:58 PM UTC-5, vkelm...@aol.com wrote: > 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 anyone else noticed this? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.