Comments (4)
Hi @dooglewoogle I think it should be doable. So with the start/stop measure commands that implies going to a new URL. (you can read the documentation at https://www.sitespeed.io/documentation/sitespeed.io/scripting/#measure).
What happens on the page in the iframes and what exactly do you want to measure?
from sitespeed.io.
Ideally I want to measure everything, but I'll settle for whatever I can, even if it's only something like response time.
When you select a link in the list, it will set the src of the child iframe to OnBeforeUnloadTrigger.htm . When that page loads it’ll call some JS from the current context, which will do different things depending on what type of thing that was selected. Which eventually set’s the src of the child iframe to the appropriate page.
It reuses the iframes, but the going to a new url part doesn't happen in the iframe context we are in. Only the child one.
from sitespeed.io.
I see, hmm, let me think until tomorrow and get back to you.
from sitespeed.io.
Is it ok to just measure one "load" at a time? I would try that first, something like this:
- navigate to your base page
- measure start
- do the trick with the iframe
- measure stop
Then visual metrics will be populated with what happens in the iframe. I would run that together with --pageCompleteCheckNetworkIdle true
. That would use the browsers network log to "know" when to end the test (2 seconds of nothing happening in the network). That way the iframes requests will considered when choosing when to end.
If that doesn't work, can you make a simple HTML-page as an example that I can use to test it out? Maybe small tweaks could fix this.
from sitespeed.io.
Related Issues (20)
- slack notification not working when slack.type error HOT 5
- Include compare information in the lateststorer plugin
- LCP and FCP on sitespeed.io vary greatly from LCP and FCP on pagespeed.web.dev HOT 2
- Thresholds for specific metrics (core webvitals one) HOT 2
- Let the compare plugin compare to JSONs from file.
- InfluxDB + Grafana dashboards for Plus1[Graphite] equivalent
- I want to crawl a custom sitemap.xml or CSV file HOT 1
- grafana leadboard does not show data HOT 3
- Metrics in the compare plugin sometimes get N/A
- Let the compare plugin show more data
- SiteSpeed test exits with 1 with suppressExitCode in place HOT 5
- Firefox crash with gecko driver and xfce desktop to export display on vnc viewer HOT 1
- Add "SiteSpeed" identifier to User-Agent header in CO2.js HOT 3
- How wait till Element not present HOT 1
- [Documentation] S3 Expire, incorrect description HOT 1
- Couldn't generate Html Report HOT 4
- How to configure plugins? HOT 8
- Handle Alert box in sitespeed.io HOT 7
- Support of tsproxy HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sitespeed.io.