Thanks for trying it out. I just tried using the bash installer from https://download.racket-lang.org/ and I experience the same issue of lagginess in 7.3. I also tried using a snapshot release from https://plt.eecs.northwestern.edu/snapshots/ and I experienced the same issue.
I am not sure what I should try next other than maybe profiling, but I have not had much luck making effective use of the profiler in the past for interactive applications. Evan On Thursday, May 30, 2019 at 4:23:13 AM UTC-10, Sam Tobin-Hochstadt wrote: > > I just tried this on my build (from HEAD) and I also do not see any > slowdown. Trying with a regular installer would be helpful. > > Sam > > On Fri, May 17, 2019 at 5:09 PM evdubs <[email protected] <javascript:>> > wrote: > > > > Hi All, > > > > I have noticed sluggish performance with my plot overlays in Racket 7.3 > that I had not noticed in versions 7.2 and prior. Here's the code I am > using to test (taken from here): > > > > (require plot) > > > > (define ((make-current-value-renderer fn) snip event x y) > > (define overlays > > (and x y (eq? (send event get-event-type) 'motion) > > (list (vrule x #:style 'long-dash) > > (point-label (vector x (fn x)) #:anchor 'auto)))) > > (send snip set-overlay-renderers overlays)) > > > > (define snip (plot-snip (function sin) #:x-min 0 #:x-max (* 2 pi) > #:y-min -1.5 #:y-max 1.5)) > > (send snip set-mouse-event-callback (make-current-value-renderer sin)) > > snip > > > > With 7.3, it feels like the frame rate hovers around 5-10 fps and the > mouse pointer input is buffered so you can move around the plot and it will > slowly try to catch up to where your pointer was. 7.2 and prior all felt > snappy and seemed to be at least 20-30 fps. > > > > Here are my installation details: > > > > Ubuntu 19.04 > > Intel Core i5-7400 > > 16GB RAM with only ~10GB in use (no swapping) and <1GB in use by > DrRacket > > Racket 7.3 installed from the PPA > > > > I asked Alex H. if he had noticed this regression and he said he had > not. He uses Windows. I have not tried to see if the PPA version is any > different from the official installer to see if there's a difference. Maybe > that's the next step? > > > > Evan > > > > -- > > 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 [email protected] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/b68b9731-3163-4d0b-9edc-32c3774b6243%40googlegroups.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/a79a3b45-ea09-4b62-af58-3a367d1d799d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

