Re: Has javascript gotten slow?

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Has javascript gotten slow?
De : bp (at) *nospam* www.zefox.net
Groupes : comp.sys.raspberry-pi
Date : 28. Feb 2025, 16:22:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vpskcj$3nare$1@dont-email.me>
References : 1 2
User-Agent : tin/2.6.4-20241224 ("Helmsdale") (FreeBSD/14.2-STABLE (arm64))
Richard Kettlewell <invalid@invalid.invalid> wrote:
(Apparently the question is about Java, not JavaScript.)
 
bp@www.zefox.net writes:
Some months ago I purchased an Owon vds1022i usb oscilloscope.
It uses a Java application for control and display.
>
Testing it with an old Pi2 running Bookworm and the default GUI
showed very nice performance, with the screen updating the Owon
control application fast enough that no delay was noticeable.
>
Now, several months and Bookworm updates later, I tried it again
and the oscilloscope application updates the screen roughly once
every five seconds.
>
Top reports about 0.6% user with the Java application not running,
but close to 30% with the java application running but just sitting
in the foreground with no inputs. 
>
Are there any known problems with Java on Bookworm?  I've tried
disconecting other usb devices and swapping keyboards, that didn't
help.
 
https://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=0;dist=unstable;ordering=normal;repeatmerged=0;src=openjdk-17
would be the place to look for bug reports. I don’t see anything
reflecting performance issues.
 
At any rate, a single application performing poorly is just not enough
to conclude there’s a problem with the JRE. You’re more likely to be
seeing poor behavior by the one application.
 
Contacting the maintainer of the oscilloscope application would be a
reasonable approach (using whatever their preferred support or bug
reporting channel is).
 
Is it possible to "roll back" the system by date? The initial tests
that worked well were done in early August, 2024.
 
If you can find a copy of the JRE package from that time period then
potentially yes. I’m not sure if the package binaries are kept anywhere
(in principle they can probably be rebuilt from source, if not, but this
is starting to turn into a lot of work for something speculative).
 

It appears the problem was Wayland. I was quite firmly convinced that
the initial experiment was done with Wayland active, but evidence
suggests otherwise.

Switching from Wayland to X11 seems to have restored the former level
of performance. No other changes, I just set X11 active and rebooted.

I suppose it's possible there was a change to Wayland, quite a few
updates were applied between August and now. Alas, it's far more
likely I was simply mistaken about the initial test.

Thanks for everyone's attention, and apologies for the noise!

bob prohaska




Date Sujet#  Auteur
27 Feb 25 * Has javascript gotten slow?7bp
27 Feb 25 +* Re: Has javascript gotten slow?3Theo
28 Feb 25 i`* Re: Has javascript gotten slow?2bp
28 Feb 25 i `- Re: Has java gotten slow?1Lawrence D'Oliveiro
28 Feb 25 `* Re: Has javascript gotten slow?3Richard Kettlewell
28 Feb 25  `* Re: Has javascript gotten slow?2bp
28 Feb 25   `- Re: Has javascript gotten slow?1The Natural Philosopher

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal