Code Monkey home page Code Monkey logo

Comments (5)

guybedford avatar guybedford commented on May 23, 2024

I'm currently trawling through selenium / Firefox docs working out how to change this, even just documenting it could help.

from tachometer.

aomarks avatar aomarks commented on May 23, 2024

My thinking has been that it makes sense to have a clean-room browser by default, so that extensions etc. won't interfere with the benchmark. (This is also the Selenium default). I could definitely see a useDefaultProfile: true or similar setting, though, which would know how to do that for all browsers.

We do have instructions for changing profiles in Chrome using the addArguments setting: https://github.com/Polymer/tachometer#profiles

However, it seems that we don't currently support addArguments for Firefox. I'll add that, test out profile switching, and update the docs.

from tachometer.

guybedford avatar guybedford commented on May 23, 2024

However, it seems that we don't currently support addArguments for Firefox. I'll add that, test out profile switching, and update the docs.

This would be an absolutely massive help thanks for considering it. Even just persisting a unique profile that can be shared between runs would be fine as well, the annoying part is having to uniquely update the certificate chain on each run.

from tachometer.

aomarks avatar aomarks commented on May 23, 2024

I've added a new browser.profile setting in #226, which works for Firefox and Chrome. I also fixed the addArguments bug, though you shouldn't need that now that browser.profile exists.

I also published a pre-release version so you can test this out early: npm i tachometer@^0.5.10-pre.0.

See https://github.com/Polymer/tachometer/blob/4b3faa4dc12e539dd19a6db1ef3ebb37eb8b1798/README.md#profiles for documentation.

Would love to hear if it works for you. It worked for me so far on macOS and Linux.

from tachometer.

aomarks avatar aomarks commented on May 23, 2024

I also published a pre-release version so you can test this out early: npm i tachometer@^0.5.10-pre.0.

Just released 0.5.10 final FYI

from tachometer.

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.