20 Apr 2024 |
brian_e | I don't see any error in the console. the loading is taking more than a minute | 10:27:51 |
brian_e | well the "loading client" itself says loading. The website loads instantly | 10:28:38 |
loke | That's odd. | 10:29:02 |
brian_e | oh now it loaded | 10:29:11 |
loke | I mean, there shouldn't be a problem unless your internet connection is very slow. | 10:29:29 |
brian_e | could be slow by some standards but i don't think it's that bad. i'll send a speed test | 10:30:24 |
loke | What kind of connection do you have? | 10:30:32 |
brian_e | hm not ethernet if that's what you mean by "kind" | 10:31:10 |
loke | I mean, speed-wise. | 10:31:29 |
brian_e | Download image.png | 10:31:47 |
brian_e | did the image make it over to matrix? | 10:32:24 |
loke | Well, that's slower than mine, but it still shouldn't take more than a second or so to download everything. | 10:32:32 |
brian_e | ok seems to have. good | 10:32:48 |
loke | Did it work for you? | 10:33:44 |
brian_e | oh i did get a console error now, but i doubt it's related.
GET https://kapdemo.dhsdevelopments.com/favicon.ico [HTTP/1.1 404 Not Found 446ms] | 10:34:14 |
loke | Yeah, I don't have a favicon. | 10:34:27 |
brian_e | what "worked" for me? the loading time is still the same | 10:35:48 |
loke | I mean, once it's loaded, does it run? | 10:36:09 |
brian_e | oh now it only took a second | 10:36:16 |
loke | And if you reload the page, did caching make anything faster? | 10:36:20 |
brian_e | yes it works | 10:36:59 |
brian_e | i assume it's cached now ya, since now it's only a second | 10:37:23 |
loke | Also, could you try to time getting the js code?
time curl -o/dev/null 'https://kapdemo.dhsdevelopments.com/clientweb2/compute-queue-worker.js'
| 10:37:45 |
brian_e | ok well 11 seconds, but a lot better | 10:37:55 |
brian_e | sorry to leave you wating, but it's 1 minute now and the estimated time left is 4 minutes | 10:40:06 |
discodoug | One trick I used in my implementation: sorting a Boolean vector moves all the ones to one side similar to a 2048 slide. | 10:40:35 |
anaseto | In reply to @loke:dhsdevelopments.com
Also, could you try to time getting the js code?
time curl -o/dev/null 'https://kapdemo.dhsdevelopments.com/clientweb2/compute-queue-worker.js'
I tried that, and that's the issue: I don't know why it's slow, the network is mostly idle. | 10:43:06 |
loke | discodoug: Oh, instead of what I do, which is just to remove all the zeroes. | 10:43:19 |
brian_e | it's interesting. the "current speed" keeps being 0, and sometimes becomes 3800 or thereabouts | 10:43:28 |
loke | I've heard other people complain about this, and I even saw it myself when I was in Europe a few times. | 10:44:00 |