Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec load/timing problem #330

Closed
NSoiffer opened this issue Apr 25, 2022 · 7 comments
Closed

spec load/timing problem #330

NSoiffer opened this issue Apr 25, 2022 · 7 comments

Comments

@NSoiffer
Copy link
Contributor

NSoiffer commented Apr 25, 2022

I thought my problems with the spec taking forever and my machine freezing up for a while were solved when I turned off some anti-virus "web shield" options, But they are happening again. I used chrome's network debugging and see the following:

image

The bibrefs seems to be causing a hang for some reason.

Firefox won't finish loading now (this is new):
image

Running a local server, I don't seem to have a problem.

@davidcarlisle: any ideas/changes?

@polx
Copy link

polx commented Apr 26, 2022

On a cleaned firefox, I get 3.5 s load for the get http://api.specref.org/
Down here, the DNS tells me that this server is reachable at one of 18.205.222.128, 54.237.133.81, 52.202.168.65 (all in the US) as wget tells.
Could you click on the bibrefs request to see how it finishes up and try the IP?

@davidcarlisle
Copy link
Collaborator

@NSoiffer if I run on my local server the history file is always blocked with a CORS error as the w3c server (I think) whitelists github to make that access. So that one is ignorable (and shouldn' take too long, it's just an instantly refused API request)

When using the github version, when the API request isn't blocked it fails as your image shows, simply because TR/MathML4 isn't there yet. It doesn't take long to fail for me though,

image

@davidcarlisle
Copy link
Collaborator

If I disable the cache tha bib lookup takes 336ms and total is 803

image

a normal reload, without clearing the cache, is reported as total 332ms

@NSoiffer
Copy link
Contributor Author

It's back to loading ok again. I don't have any idea what is going on...

@stefnotch
Copy link

stefnotch commented Apr 28, 2022

@NSoiffer If you can reproduce this issue again, you could try playing around a bit with the "disable cache" feature and with "request blocking". Maybe that'll help with narrowing down the potential causes of this issue. (For the record: The page takes 6 seconds until the loading spinner in the top right corner goes away on my machine.)

Here is an example screenshot that uses the Firefox developer tools, but the Chrome dev tools should be equally capable of doing this.

image

@davidcarlisle
Copy link
Collaborator

can we close this?

For anyone who just wants to read the spec without waiting for respec to assemble the references we now have
https://w3c.github.io/mathml/spec.html
available built by gh-actions on each commit (not that that helps you so much while you are editing the spec)

@davidcarlisle
Copy link
Collaborator

closing as addressd by spec.html for people for whom respc processing is taking too long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants