DrRacket takes longer to start up on weekends

95 views
Skip to first unread message

Leif Andersen

unread,
Dec 19, 2016, 9:59:30 AM12/19/16
to racket-dev
Hey all,

I want to know if I'm just imagining things or not. But DrRacket seems to take noticeably longer to start up on weekends during week days. I have a feeling this is due to the spinning racket logo that only shows up on weekends.

Has anyone else noticed this?

~Leif Andersen

Matthias Felleisen

unread,
Dec 19, 2016, 10:17:18 AM12/19/16
to Leif Andersen, racket-dev

+1
> --
> You received this message because you are subscribed to the Google Groups "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+...@googlegroups.com.
> To post to this group, send email to racke...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/CAAVaeEAqQ1v3Y1qmtB-C_Hj5Kh6SNxEVBdG6Q25fWh%3Dgj7HQXA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

Leif Andersen

unread,
Dec 19, 2016, 11:30:59 AM12/19/16
to Matthias Felleisen, racket-dev
YES, It _IS_ actually significantly slower because of the icon.

To test this, Ben Greenman and I made a package called: `arsen`. This package is nothing but a drracket plugin that calls `exit`.

Our info file is:
```
#lang info

(define drracket-tools '(("tool.rkt")))
(define drracket-tool-names '("Arsen"))
(define drracket-tool-icons '(#f))
```

And our tool.rkt file is:
```
#lang racket/unit

(require drracket/tool)

(import drracket:tool^)
(export drracket:tool-exports^)

(define (phase1) (void))
(define (phase2) (void))

(exit)
```

Now, when we start up DrRacket, it immediately quits the moment it starts running plugins.

So, what do we get, when we run it on a Monday, we get pretty consistantly:

leif@FATT ~ $ time drracket
drracket  2.93s user 0.52s system 97% cpu 3.547 total

So 2.93 secons.

However, when we run it on a Sunday:

leif@FATT ~ $ time drracket
drracket  4.30s user 0.64s system 96% cpu 5.135 total

So 4.3 seconds.

So yes, DrRacket is in fact taking noticeably slower to launch on weekends rather than week days.

Does anyone have any suggestions on fixing it? Otherwise can we just remove the animation until its sped up?


~Leif Andersen

On Mon, Dec 19, 2016 at 10:17 AM, Matthias Felleisen <matt...@ccs.neu.edu> wrote:

+1


> On Dec 19, 2016, at 9:58 AM, Leif Andersen <le...@leifandersen.net> wrote:
>
> Hey all,
>
> I want to know if I'm just imagining things or not. But DrRacket seems to take noticeably longer to start up on weekends during week days. I have a feeling this is due to the spinning racket logo that only shows up on weekends.
>
> Has anyone else noticed this?
>
> ~Leif Andersen
>
> --
> You received this message because you are subscribed to the Google Groups "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+unsubscribe@googlegroups.com.

Robby Findler

unread,
Dec 19, 2016, 11:35:36 AM12/19/16
to Leif Andersen, Matthias Felleisen, racket-dev
I removed it a few minutes after your first message.

Robby
>> > an email to racket-dev+...@googlegroups.com.
>> > To post to this group, send email to racke...@googlegroups.com.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msgid/racket-dev/CAAVaeEAqQ1v3Y1qmtB-C_Hj5Kh6SNxEVBdG6Q25fWh%3Dgj7HQXA%40mail.gmail.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-dev+...@googlegroups.com.
> To post to this group, send email to racke...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-dev/CAAVaeECGHvkcLXszEdrDUY5gt9L7LEr_xcTXaQC8kgXHZxsFVA%40mail.gmail.com.

Leif Andersen

unread,
Dec 19, 2016, 11:42:31 AM12/19/16
to Robby Findler, Matthias Felleisen, racket-dev
Okay, cool, thanks.


~Leif Andersen


>> > To post to this group, send email to racke...@googlegroups.com.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msgid/racket-dev/CAAVaeEAqQ1v3Y1qmtB-C_Hj5Kh6SNxEVBdG6Q25fWh%3Dgj7HQXA%40mail.gmail.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an

> To post to this group, send email to racke...@googlegroups.com.
> To view this discussion on the web visit
Reply all
Reply to author
Forward
0 new messages