Coder Social home page Coder Social logo

Comments (4)

soulgalore avatar soulgalore commented on June 13, 2024

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.

dooglewoogle avatar dooglewoogle commented on June 13, 2024

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.

soulgalore avatar soulgalore commented on June 13, 2024

I see, hmm, let me think until tomorrow and get back to you.

from sitespeed.io.

soulgalore avatar soulgalore commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.