{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/jquery.com/issues/149","repository_url":"https://api.github.com/repos/jquery/jquery.com","labels_url":"https://api.github.com/repos/jquery/jquery.com/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/jquery/jquery.com/issues/149/comments","events_url":"https://api.github.com/repos/jquery/jquery.com/issues/149/events","html_url":"https://github.com/jquery/jquery.com/issues/149","id":181925820,"number":149,"title":"Misleading footprint description in homepage","user":{"login":"Chealer","id":486141,"avatar_url":"https://avatars.githubusercontent.com/u/486141?v=3","gravatar_id":"","url":"https://api.github.com/users/Chealer","html_url":"https://github.com/Chealer","followers_url":"https://api.github.com/users/Chealer/followers","following_url":"https://api.github.com/users/Chealer/following{/other_user}","gists_url":"https://api.github.com/users/Chealer/gists{/gist_id}","starred_url":"https://api.github.com/users/Chealer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chealer/subscriptions","organizations_url":"https://api.github.com/users/Chealer/orgs","repos_url":"https://api.github.com/users/Chealer/repos","events_url":"https://api.github.com/users/Chealer/events{/privacy}","received_events_url":"https://api.github.com/users/Chealer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-10T01:44:37Z","updated_at":"2016-10-16T20:28:15Z","closed_at":"2016-10-10T13:47:12Z","body":"The homepage contains:\r\n>Lightweight Footprint\r\n\r\n>Only 32kB minified and gzipped. Can also be included as an AMD module\r\n\r\nIncluding a compressed size while not including an uncompressed size implies that download time matters more than evaluation time. Yet, just evaluating jQuery Core 1.10 on a fairly performant PC (2-year-old AMD A8-5600K APU) takes roughly 46 ms.\r\n\r\nI have included jQuery Core by default in an internal application without realizing I was adding such a footprint to it, after having considered performance. I reckon I might have been ignorant/careless then, but I thought the main impact would be the time taken to fetch jQuery (HTTP). And since our server is local, that was a non-issue. I absolutely did not see script evaluation time.\r\n\r\nHowever, looking at the quote above, I can understand why someone would only think about download time. While download time is indeed much more important on first load (although it has been pointed out that using CDN-s, even the first load may not require downloading jQuery), in the end, evaluation is much more important, at least in most environments.\r\n\r\nI do not regret having included jQuery Core, but in some contexts, evaluation time will make the difference between including and avoiding. The current description misleads by:\r\n\r\n1. Implying that jQuery Core's download costs more than evaluation, which is generally wrong\r\n2. In general, implying that the download costs of JavaScript code are greater than evaluation costs, which is also generally wrong and even more misleading\r\n\r\nIf we want to quantify footprint by size, we should make the standard or minified size (probably the latter indeed) at least as prominent as the gzipped size. My recommendation would be to replace the gzipped size with the uncompressed minified size."},"comment":{"url":"https://api.github.com/repos/jquery/jquery.com/issues/comments/254072374","html_url":"https://github.com/jquery/jquery.com/issues/149#issuecomment-254072374","issue_url":"https://api.github.com/repos/jquery/jquery.com/issues/149","id":254072374,"user":{"login":"timmywil","id":192451,"avatar_url":"https://avatars.githubusercontent.com/u/192451?v=3","gravatar_id":"","url":"https://api.github.com/users/timmywil","html_url":"https://github.com/timmywil","followers_url":"https://api.github.com/users/timmywil/followers","following_url":"https://api.github.com/users/timmywil/following{/other_user}","gists_url":"https://api.github.com/users/timmywil/gists{/gist_id}","starred_url":"https://api.github.com/users/timmywil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmywil/subscriptions","organizations_url":"https://api.github.com/users/timmywil/orgs","repos_url":"https://api.github.com/users/timmywil/repos","events_url":"https://api.github.com/users/timmywil/events{/privacy}","received_events_url":"https://api.github.com/users/timmywil/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T20:28:15Z","updated_at":"2016-10-16T20:28:15Z","body":"I meant uncompressed, or minified. I understand your point that evaluation matters. However, you want us to put more emphasis on the evaluation time of jQuery, but you admit that the evaluation time does not seem to be a problem. I do not think the evaluation time of jQuery is the bottleneck for any application, therefore I disagree it has any bearing on the decision to include it. The resolution of the ticket is that no changes will be made. "}}
{"actor":{"display_login":"timmywil"}}