Comments (9)
This should be fixed in master now. @igrigorik if you get a chance, could you give it another spin?
$ npm install git://github.com/addyosmani/tmi -g
from tmi.
works!
QQ, trying it on nytimes:
On Mobile:
You have more image bytes than 60% of sites
+955 kB compared to sites in the 25th percentile
+712 kB compared to sites in the 50th percentile
+198 kB compared to sites in the 75th percentile
Results are a bit confusing to me. First, it says the site is in the 60th quantile, but if so, why is +198KB for 75th percentile? That would imply that the site is 75th+ percentile.
Also, minor nitpick: KB not kB (1024 vs 1000 :)).
from tmi.
I can confirm that installing the package from master solves the problem.
from tmi.
@igrigorik It looks like my calculations were a little askew there. I'm going to pull out support for the "You have more images than N" output to the next minor release so it can properly be fixed :) For now we'll have:
$ tmi http://redrobin.com
Your image weight: 3.55 MB
Median mobile site image weight: 660 kB
Median desktop site image weight: 1.21 MB
On Mobile:
+3.49 MB compared to sites in the 25th percentile
+3.25 MB compared to sites in the 50th percentile
+2.73 MB compared to sites in the 75th percentile
On Desktop:
+3.41 MB compared to sites in the 25th percentile
+2.94 MB compared to sites in the 50th percentile
+2.14 MB compared to sites in the 75th percentile
Is that okay? The KB -> kB formatting is due to a formatting module we're using, but I'll open an upstream issue with the author to address that :)
from tmi.
Master works but NPM version still throws errors. Can you please re-publish? Thanks.
from tmi.
Compiler told me that 'gpagespeed' module is missing. :|
I am also having issues with NPM though 👎
from tmi.
@ashumeow is this against master or the version on npm that you're seeing that exception thrown? I'm unable to repro locally but would like to confirm before pushing a new release.
from tmi.
After a fresh clone followed by npm install && npm link
on a new machine:
from tmi.
@addyosmani Yeah! You're right.
from tmi.
Related Issues (17)
- Fix the breaking unit test
- CLI prints "psi" usage
- Crash with no images HOT 3
- Not giving accurate count HOT 3
- Averages suck, why compare to average? HOT 10
- Does tmi checks images referenced from CSS? HOT 2
- Accept unhttped url HOT 1
- Feedback when request, timeout / url does not exist? HOT 1
- does this work on angular apps? HOT 1
- no output at all ! HOT 1
- Test app behind login? HOT 2
- Running TMI behind proxy HOT 1
- Does it work with Gulp? How?
- Cant run tmi properly HOT 3
- Elaborate median and percentile info in verbose output HOT 1
- Can't use tmi at all HOT 1
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 tmi.