Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-10-02 Thread evdubs
If anyone is following along here, I recently installed the Racket 7.4 (non-Chez Scheme) version from the Ubuntu PPA and this performance has been acceptable. It is slightly noticeably slower but much better than what I had seen in 7.3. This works for me, but I am still clueless in understandin

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-07 Thread evdubs
> > The paint times for 7.2 seem inconsistent with your previous tests... Correct. That run was a bit of an outlier. The 7.2 runs are mostly in line with 7.3 with respect to paint. Here's what I get for mouse callback stats with this code when I use differ

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-07 Thread Alex Harsanyi
The paint times for 7.2 seem inconsistent with your previous tests... In any case, it seems mouse event handling takes longer in 7.3 based your results. What happens if you update the callback to discard any mouse events older than, say 50 milliseconds? Alex. On Friday, June 7, 2019 at 7:27:3

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-07 Thread evdubs
I changed the Linux line of code to: [time-stamp (current-milliseconds)] Is there a reason why you did not want to do that? Any way, when I do that, here are the results I get: $ ~/racket-7.2/bin/racket chart-lag-test.rkt Mouse Min: 0.132080078125 Max: 23.10107421875 Mean: 3.257062241367008 Std

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-05 Thread Alex Harsanyi
On Wednesday, June 5, 2019 at 9:23:26 PM UTC+8, Alex Harsanyi wrote: > > > > On Wednesday, June 5, 2019 at 8:51:48 PM UTC+8, evdubs wrote: >> >> I ran the program with your modifications, but counter to the >> documentation >>

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-05 Thread Alex Harsanyi
On Wednesday, June 5, 2019 at 8:51:48 PM UTC+8, evdubs wrote: > > I ran the program with your modifications, but counter to the > documentation > , > >

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-05 Thread evdubs
I ran the program with your modifications, but counter to the documentation , the values I get from get-time-stamp don't seem at all similar to current-mi

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-05 Thread Alex Harsanyi
I had a look at the code and it is not exactly what I had in mind for the measurements. The problem with your measurements is that the canvas is re-drawn only when needed, so the time between two calls to on-paint is not relevant for performance measurements. For the on-paint, the time of the

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-05 Thread evdubs
Thanks for responding, Alex. Here's what I came up with that I think satisfies your recommendations. It shows the sin() plot, expects interaction for 10 seconds, then prints min/max/mean/std dev for both the mouse-event-callback for the snip and on-paint for th

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-04 Thread Alex Harsanyi
On Tuesday, June 4, 2019 at 11:32:42 AM UTC+8, evdubs wrote: > > 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.nor

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-03 Thread evdubs
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

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-05-30 Thread Sam Tobin-Hochstadt
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 wrote: > > Hi All, > > I have noticed sluggish performance with my plot overlays in Racket 7.3 that > I had not noticed in v

[racket-users] Racket 7.3 Plot Performance Regression

2019-05-17 Thread evdubs
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 p