-
Notifications
You must be signed in to change notification settings - Fork 74
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
pwmetrics is performing only a single round though three rounds were set #31
Comments
@rpkoller thanks for using latest versions and helping us improve stuff! I'll try to use it with node v7 because with v6 I don't have any problems... It throws errors like yours but still run exact same number of runs was set. |
@rpkoller I've tested with node |
@denar90 I've reran the test. As far as i can remember there hasn't been any update to pwmetrics since the last time i've tried but oddly it is working now?! Chrome was closed completely the last time and it was this time. each run a new window instance was opened. when the run was finished it closed. the first time a window opened only once this time three times. and in regards of your suspicion if the metrics weren't available at least a new window instance would have to pop up but it didnt the last time. quite odd and unsure how to narrow the root of the cause down. :/ Will try again later today if it gets back to the only one time measurement behavior. Strange. Is there some sort of "debug" attribute I might set for running pwmetrics showing what it is acutally doing? |
Thanks for rechecking it 👍 We didn't have release yeat after Looks like some glitch but it will be nice to have couple tries to be confident in that. We doesn't have any |
yeah saw that. but i was just thinking out loud. couldn't imagine any other reason that one time the test is only ran once and then three times as given. but yeah will keep on testing. on a side note, missing metrics can't be the reason that the test was only ran once in contrast to the given rounds. tried again right now an: and thanks for the heads up in regard of inspect and debug. will give it a try later tonight. thanks! |
@rpkoller can you test with latest master? I tried same site as above with 5 runs. Looks good. |
@denar90 hm never installed a master from github with npm yet. |
I would use |
@denart90 uh damn there seem some node 7.6 issues.yesterday nights install returned
on
happend with node 7.6 and npm 4.1.2 on osx :/ |
@rpkoller we are trying to migrate to typescript. So, to make it works in |
@denar90 no problem at all. :) but two followup question. I have installed pwmetrics globally with |
@rpkoller first check that in your node_module's folder you have the pwmetrics project. If you do run the following command in that folder: npm run build If you don't have that pwmetrics folder, try and find the path where you global node packages are installed by running: |
@pedro93 thanks. am not that npm savvy and still learning things. already found my way to the particular directory manually. but the
maybe cuz it is still showing version 1.2.4 |
You learn something every day :D The pwmetrics version is correct, it's what's specified here: https://github.com/paulirish/pwmetrics/blob/master/package.json. It looks like the typescript dependency is not installed when you call npm install ... If you check the package json I linked too, typescript is set as dev dependency. Delete the pwmetrics folder and re-run the npm install but with the --dev flag:
|
The way I'm working with library. After next |
@pedro93 ahhhh the version number is pulled from the package.json when i do a list of installed npm packages. cool and went then with the variant @denar90 is describing. one follow up question in that regard @denar90 . I haven't deleted the global package but followed his instructions. then i ran pwmetrics with 5 runs. i got the following output: is it intentional that the graphs of each round arent shown anymore and just the median run? aside that i got no not available missing graphs like before and i used a page which is knowingly slow and had those issues. aside i got that invalid protexpectation. shall i file a separate issue for and do a trace? |
@rpkoller it's a feature that for median run only one graph is shown 😉 @rpkoller thanks one more time for digging into this issue with us 👍 |
yep the initial issue seems to be fixed now 👍thx! and regarding and @denar90 one last question regarding your workflow with |
I suppose you can do smth like |
@denar90 since we now have typescript in the mix, we'll need to make sure the gsheets.js is in the published npm module. i bet it was excluded since npmignore inherits from gitignore. |
yeah. https://github.com/paulirish/pwmetrics/blob/master/.npmignore#L11 excludes that file. we should nuke that line and republish. ;) |
agree, but don't publish until we solve stuff for #55. |
Hi i am running pwmetrics 1.2.4 with lighthouse 1.4.1 on node 7.4 on osx 10.11.6. I am not sure why but somehow
pwmetrics
is only performing a single round of auditing instead of the three which i have set. :/If you need further informations let me know. Best regards r.
The text was updated successfully, but these errors were encountered: