Re: [WikimediaMobile] Measuring performance
Thanks for the write up. It doesn't seem like we're missing anything other than performance regression tracking On Fri, Jul 24, 2015 at 1:51 AM, Jon Robson jrob...@wikimedia.org wrote: The reading team are currently focusing energy on speeding up the site for all our users (https://phabricator.wikimedia.org/T98986 is the tracking bug where this work can be followed) Off the back of https://phabricator.wikimedia.org/T105361 I had a quick chat with Ori to document how the performance team is currently identifying problems with MediaWiki's code. I'm sharing here, so anyone who is interested in helping us improve the time our users can load our content can analyse our data, raise tasks, and submit patches. I'm hoping this will be useful for anyone who wants to get involved in an effort to make our site faster for our users (this is not desktop specific). If you have anything useful to add please do, after some discussion or nods I'd love to share some best practices on mediawiki.org Tool 1) Use http://webpagetest.org (no credentials necessary) * Use https://en.wikipedia.org/wiki/Facebook as an example wiki page * Choose a region of the world and browser * Select first view only since this is what we are currently interested in (repeat view is when they load again - and it should be quicker as it is from cache). * Capture video can be turned off - I personally find the screenshots more useful To shout out some of the advanced settings, the more interesting/useful features include: *Chrome capture dev tools timeline * Setting speed 3G or 2G * Script can be used to conditionally turn on things which are not yet available to everyone e.g. VisualEditor You can do a lot of this in your Chrome browser locally, but different browsers may have different behaviours and are in a fixed location so this does not get captured in this tool. The visual screenshots also make it easier to see where things get blocked. With the timeline from advanced tools you can match up white screens with blocking scripts/styles Tool 2) Add http://performance.wikimedia.org to your browser bookmarks. Navigation timing section is probably the most interesting right now. It points to https://grafana.wikimedia.org (no credentials needed) which is powered by http://graphite.wikimedia.org (Access graphite with your wikitech credentials). This data is sourced from our users, so is a good representation of how we are doing. If a graph is missing you can create a new one from data in graphite by clicking add row or editing an existing graph. Clicking edit on https://grafana.wikimedia.org/#/dashboard/db/navigation-timing?panelId=12fullscreenedit you'll be able to understand where the data comes from on graphite e.g. metrics/frontend/navtiming/totalPageLoadTime Note for graphs median data is less sensitive to edge cases so best to use this as a more realistic indicator. Folders in graphite, are populated by scripts that live in: https://github.com/wikimedia/operations-puppet/tree/production/modules/webperf/files To create a graph, simply go to an existing workboard, save it under a different name (this clones it) - don't worry you can't mess up and delete existing workboards. Tool 3) Speedcurve requires you to setup an account but it gives you an opiniated view about things you care about and is nicely presented so could be a good source of inspiration for your own grafana dashboard. To oversimplify what it does: each day it will access a page, store result, allow you to see historic data. Note the performance team has plans to setup infrastructure to automate this. Tool 4) is one we are not using - http://sitespeed.io. We might want to use it for performance regressions test. In the grand scheme of things it would be great to get to a place where Jenkins complains if you cause a regression in firstPaint time but we are a long way from that but let's work in that direction :-) Let's live up to the Hawaiian word after which we are named! Apologies if this is oversimplified, please take this as an opportunity to share how you/your team/your company test page performance. I see this mailing list as a good place to share these sort of things! ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
Re: [WikimediaMobile] Apps for Kindle and Windows
The old PhoneGap app repo lives here on GitHub: https://github.com/wikimedia/WikipediaMobile (I haven't touched it and can't speak to its current state.) On Thu, Jul 30, 2015 at 9:52 AM, Joaquin Oltra Hernandez jhernan...@wikimedia.org wrote: I've also floated the idea of cleaning up / replacing the experimental Firefox OS app (which is based on our old PhoneGap app code) and using a modernized HTML5+JS app for both Firefox OS and Windows 10 Tablet/Mobile. Nobody's bitten on the idea yet, but I think it might be better than trying to separately spin up resources for multiple minority mobile OSs. Where is such phonegap app? I'm very interested in building a web client and have already been doing so for the last 2 hackathons http://chimeces.com/webkipedia/ (T106275 https://phabricator.wikimedia.org/T106275) and I'm working on it thinking mobile first. I would be very interested in checking the feature set of the old phonegap app and when good enough, making an effort to package something like that web client for firefoxOS windows phone. Thoughts? On Sun, Jul 26, 2015 at 4:10 AM, Stephen Niedzielski sniedziel...@wikimedia.org wrote: Hey! I believe we update the Wikipedia for Fire OS (Android) app[0] whenever a production version has fully rolled out on Play, although we don't offer the Beta[2] on Appstore. I can see they're both currently at the latest and greatest. I don't have Fire device presently, but if you highlight a term for sharing and have Wikipedia installed, you should get the option to search with the app. I *thought* there was also some additional platform level support for Wikipedia lookups built by Amazon but I might be mistaken. --stephen [0] https://www.amazon.com/gp/mas/dl/android?p=org.wikipedia [1] https://play.google.com/store/apps/details?id=org.wikipedia [2] https://play.google.com/store/apps/details?id=org.wikipedia.beta On Sat, Jul 25, 2015 at 7:42 PM, Pine W wiki.p...@gmail.com wrote: Hi Brion, Ok, thanks. Is the Wikipedia app promoted to Kindle Fire users very much? It would be interesting if highlighting a term in a Kindle book or newspaper would take the user to a Wikipedia or Wiktionary article for definitions and background info. I wonder if Microsoft would be willing to support Wikipedia app development for Windows with Microsoft financing or in-kind contribution of developer time. Any thoughts? Pine On Jul 25, 2015 6:08 PM, Brion Vibber bvib...@wikimedia.org wrote: On Sat, Jul 25, 2015 at 5:56 PM, Pine W wiki.p...@gmail.com wrote: Hi Mobilizers, 1. Do you think it would make sense to develop a Wikipedia app for Kindle, or to encourage Amazon to do so or financially sponsor its development? Kindle Fire devices are Android-based and can run the existing Android Wikipedia app. The bare-bones e-ink Kindle readers are another story perhaps. :) 2. Same questions for Windows and Microsoft, especially considering the Windows 10 launch. I did an experimental JavaScript/WinJS-based Windows tablet app back for the Windows 8 launch, which is still in the Windows Store but needs to be cleaned up for Windows 10 or perhaps killed and replaced. :) Windows 10 will also have a Mobile edition for phones 'and small tablets'; there's a unified app platform between desktop and mobile on Windows 10 so it should be possible to adapt the tablet app to run on phones (or rewrite it entirely to run on both!) There's also been some talk about using the framework Microsoft has put together for porting Android apps to Windows 10 Mobile, but I don't think anybody has a good handle on how tricky that will be to use, or the cost-benefit of working on Windows 10 Mobile in general. I've also floated the idea of cleaning up / replacing the experimental Firefox OS app (which is based on our old PhoneGap app code) and using a modernized HTML5+JS app for both Firefox OS and Windows 10 Tablet/Mobile. Nobody's bitten on the idea yet, but I think it might be better than trying to separately spin up resources for multiple minority mobile OSs. -- brion ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
Re: [WikimediaMobile] Apps for Kindle and Windows
My understanding is: in part, although people who were on the mobile team during the most active part of these projects are probably best situated to speak to it. There's also this page that has some historical information: https://www.mediawiki.org/wiki/Wikimedia_Apps/Wikipedia/Hybrid_notes -Adam On Thu, Jul 30, 2015 at 7:41 AM, Stephane Bisson sbis...@wikimedia.org wrote: Is the firefox os wikipedia app that's currently out there based on the old phonegap app? https://marketplace.firefox.com/app/wikipedia/ https://gerrit.wikimedia.org/r/#/admin/projects/apps/firefox/wikipedia On Thu, Jul 30, 2015 at 10:06 AM, Michael Holloway mhollo...@wikimedia.org wrote: The old PhoneGap app repo lives here on GitHub: https://github.com/wikimedia/WikipediaMobile (I haven't touched it and can't speak to its current state.) On Thu, Jul 30, 2015 at 9:52 AM, Joaquin Oltra Hernandez jhernan...@wikimedia.org wrote: I've also floated the idea of cleaning up / replacing the experimental Firefox OS app (which is based on our old PhoneGap app code) and using a modernized HTML5+JS app for both Firefox OS and Windows 10 Tablet/Mobile. Nobody's bitten on the idea yet, but I think it might be better than trying to separately spin up resources for multiple minority mobile OSs. Where is such phonegap app? I'm very interested in building a web client and have already been doing so for the last 2 hackathons http://chimeces.com/webkipedia/ (T106275 https://phabricator.wikimedia.org/T106275) and I'm working on it thinking mobile first. I would be very interested in checking the feature set of the old phonegap app and when good enough, making an effort to package something like that web client for firefoxOS windows phone. Thoughts? On Sun, Jul 26, 2015 at 4:10 AM, Stephen Niedzielski sniedziel...@wikimedia.org wrote: Hey! I believe we update the Wikipedia for Fire OS (Android) app[0] whenever a production version has fully rolled out on Play, although we don't offer the Beta[2] on Appstore. I can see they're both currently at the latest and greatest. I don't have Fire device presently, but if you highlight a term for sharing and have Wikipedia installed, you should get the option to search with the app. I *thought* there was also some additional platform level support for Wikipedia lookups built by Amazon but I might be mistaken. --stephen [0] https://www.amazon.com/gp/mas/dl/android?p=org.wikipedia [1] https://play.google.com/store/apps/details?id=org.wikipedia [2] https://play.google.com/store/apps/details?id=org.wikipedia.beta On Sat, Jul 25, 2015 at 7:42 PM, Pine W wiki.p...@gmail.com wrote: Hi Brion, Ok, thanks. Is the Wikipedia app promoted to Kindle Fire users very much? It would be interesting if highlighting a term in a Kindle book or newspaper would take the user to a Wikipedia or Wiktionary article for definitions and background info. I wonder if Microsoft would be willing to support Wikipedia app development for Windows with Microsoft financing or in-kind contribution of developer time. Any thoughts? Pine On Jul 25, 2015 6:08 PM, Brion Vibber bvib...@wikimedia.org wrote: On Sat, Jul 25, 2015 at 5:56 PM, Pine W wiki.p...@gmail.com wrote: Hi Mobilizers, 1. Do you think it would make sense to develop a Wikipedia app for Kindle, or to encourage Amazon to do so or financially sponsor its development? Kindle Fire devices are Android-based and can run the existing Android Wikipedia app. The bare-bones e-ink Kindle readers are another story perhaps. :) 2. Same questions for Windows and Microsoft, especially considering the Windows 10 launch. I did an experimental JavaScript/WinJS-based Windows tablet app back for the Windows 8 launch, which is still in the Windows Store but needs to be cleaned up for Windows 10 or perhaps killed and replaced. :) Windows 10 will also have a Mobile edition for phones 'and small tablets'; there's a unified app platform between desktop and mobile on Windows 10 so it should be possible to adapt the tablet app to run on phones (or rewrite it entirely to run on both!) There's also been some talk about using the framework Microsoft has put together for porting Android apps to Windows 10 Mobile, but I don't think anybody has a good handle on how tricky that will be to use, or the cost-benefit of working on Windows 10 Mobile in general. I've also floated the idea of cleaning up / replacing the experimental Firefox OS app (which is based on our old PhoneGap app code) and using a modernized HTML5+JS app for both Firefox OS and Windows 10 Tablet/Mobile. Nobody's bitten on the idea yet, but I think it might be better than trying to separately spin up resources for multiple minority mobile OSs. -- brion ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
Re: [WikimediaMobile] [reading-wmf] Is Schema:MobileWebClickTracking dead?
Oops, should have sent this on mobile-l to start with. Thanks. Do you think we should remove that chart from the dashboard, or just prune stuff after 2015 and disable the job that keeps adding records to it? Kevin and Marcel from Analytics on the CC. -Adam On Thu, Jul 30, 2015 at 11:57 AM, Jon Robson jrob...@wikimedia.org wrote: Yes. It got split into main-menu-daily, page-ui-daily and various other schemas. On Thu, Jul 30, 2015 at 11:54 AM, Adam Baso ab...@wikimedia.org wrote: Hi there - is Schema:MobileWebClickTracking dead? On the ui-daily-historic chart in https://mobile-reportcard.wmflabs.org/#other-graphs-tab it looks like stuff pretty much stops at the beginning of 2015. I'm going to ask Analytics to prune the long tail of events in 2015 to make the graph prettier without the big drop off if no one objects. -Adam ___ reading-wmf mailing list reading-...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/reading-wmf ___ reading-wmf mailing list reading-...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/reading-wmf ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
[WikimediaMobile] Wikipedia iOS 4.1.7 beta
Hi everyone! We're gearing up release another minor update the app. You can download it by opening the TestFlight app on your device and downloading the *Wikipedia Beta 4.1.7 (171)*. You'll see What To Test notes in TestFlight, but I've also copied them below for convenience. Please reply to me directly if you're not already a member of the beta testing group or have issues installing the app on your device. Thanks! Brian, Corey, Monte - Make sure your favorite faces are nicely centered on the page's lead image. Someone besides President Obama, we've checked him already ;-) - Try to break the language picker! Both when changing languages of a specific page (language A button on bottom toolbar) and changing the search site (tap W More Search Wikipedia). - Try to break read more! Tap on the Read More suggestions at the bottom of a page. - Try to break saved pages! We had some issues where saving pages was crashing the app. We're not sure which pages (or series of events before the save) were causing the crash, so do your worst! -- EN Wikipedia user page: https://en.wikipedia.org/wiki/User:Brian.gerstle IRC: bgerstle ___ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l