Call of Duty Wiki
Call of Duty Wiki
No edit summary
Line 73: Line 73:
   
 
Per all, seems like a good idea. {{Signatures/AndImBatman}} 01:14, April 4, 2013 (UTC)
 
Per all, seems like a good idea. {{Signatures/AndImBatman}} 01:14, April 4, 2013 (UTC)
  +
  +
Per CoD4. As for improvements, its probably wise to add a "KEY" function at the bottom(or top) for people who dont speak technical jargon (not sure if thats how you use the phrase but w/e) and mabye shorten the list from 50 items to about 20 items per page, along with the ability to filter mainspaces. {{Signature/Drkdragonz66/2}} 01:19, April 4, 2013 (UTC)

Revision as of 01:19, 4 April 2013

Forums: Index War Room New Analytics Tool: Introducing ParserSpeed
Forum logo

Initial Post

Hello!

I am pleased today to announce to this community the introduction of an alpha-level tool, ParserSpeed, which can help this community continue to share content quickly and effectively. The tool, available at Special:ParserSpeed, allows users to see how long pages on the wiki take to render. Longer pages with lots of images and templates will naturally take longer to render than shorter articles. With this tool, you will be able to identify which pages on your wiki are the slowest to render, and see specific details as to what might be the cause. Identifying what causes the slow page loads is the first step towards speeding them up.

Why is page load speed important?

This may seem like a silly question. ‘This is the interwebs! It must go faster, faster!’ But it is true and actually quite remarkable how quickly we can find ourselves losing patience if a website takes even a single second to load longer than normal. Longer page loads create a significant difference in your perception of a website. We can split up its effect on website perception in three areas:

  • User experience - The speed at which the page loads has an impact on what the user gets out of that particular page. Since many users come from search, their first experience may be on a specific page. If that page is slow to load, chances are they will expect all pages on your wiki to be the same. This impression can go a long, so keeping pages as fast as possible will reduce this risk.
  • User perception - This is how a user feels about a site after a number of interactions with it. Much like user experience, their long-term perception of the site may be willing to trade some site lag for valuable content. The trade-off threshold is high however (the content must prove to be immensely unique and valuable) for the user to completely forget or ignore the site speed. Ultimately, if they find a site they feel has a better trade-off (speed vs. content), they will begin to rely upon that site more.
  • Technical perception - Google does factor site speed into its search ranking algorithms. That’s why it’s essential for wikis to make sure they achieve a balance between having a lot of information on a page that a user might land on Google from versus having so much information that it slows down page load and thus drags down the page rank. Even if a page on a wiki has more useful content than the first four search rankings, chances are the searcher will either give up after four fruitless results or feel as though they’ve reached the maximum available information available before ever finding result #5.

What Are Things to Avoid

As I mentioned earlier, it’s a tricky balance isn’t it? The more essential to canon and/or interesting information exists about the canon subject, the more important it becomes to collect and share information about a subject in a meaningful and detailed way. From DPL queries to photo galleries, there are a variety of ways built into wikis to effectively share information. But each one has a technical cost.

I’m not going to suggest this community should dramatically change how pages are coded or the way you organize information. However, I do just want to point out what things are generally best to avoid.

  • Really, really long lists - such as long lists of internal links or huge galleries of images. While having a lot of information on one centralized list is often useful, your wiki may be better served by splitting those pages into three or four different pages that are more readable and friendly to the parser and user.
  • Deep, complex templates (a.k.a. “Inceplates”) - such as templates which call templates, which call templates, which call templates, etc. Don’t have parameters just for the sake of having parameters. Hard-code whatever makes sense and try to not make templates to be a catch-all for information.
  • Expensive Parser Functions - There are a number of functions that are considered technically expensive to render because they involve doing a non-cacheable query in the database. Those functions are {{#ifexist:}}, {{PAGESINCATEGORY}}, and {{PAGESIZE}}. While each function is very useful in doing a dynamic display of data, even just a handful can notably slow down a page’s load time.
  • Multiple DPL & Semantic MediaWiki queries - DPL and Semantic MediaWiki are great tools most of our big wikis for conditional logic. But like an expensive parser function, these tools make complex queries to the database. Try not to have multiple queries on the same page. Use caching in DPL at all times. If a table of information is fairly static, maybe it makes more sense to go ahead and code that page out manually as opposed to having a query slow the page down.
  • MediaWiki messages - Since MediaWiki messages are loaded on each page, don’t use the MediaWiki namespace for parser functions or template calls. Keep that namespace simple.

Pages on this Wiki

So let’s take some of the tips from the first section into practice for this wiki. I want to point out the three slowest pages in the main namespace and explain why they take longer load times than others

The three NS:0 pages it takes the longest to parse on Call of Duty Wiki are:

How to Use ParserSpeed

First, I want to say that we will be having a GoToMeeting webinar to discuss ParserSpeed and general site speed principles on Thursday, April 4th at 10:00 PM UTC. That’s 3 PM PDT (American West Coast), 6 PM EDT (American East Coast) and 11 PM BST (United Kingdom). We will answer questions on this post as well until then, but we also just want to have a live demo and interactive session to allow you to ask questions of the Wikia staff. You can register for here - https://www3.gotomeeting.com/register/987185502

Since this is an alpha-level feature, we haven’t gotten to add a few things like a glossary yet so I want go ahead and review what each column represents:

  • Avg. Parsing Time - The average time it takes for Wikia’s servers to parse the page in the last 30 days.
  • Min. & Max. Parsing Time - The minimum and maximum times it took for Wikia’s servers to parse the page in the last 30 days (different parsing times depend on size and complexity of parameters).
  • Wikitext Size - The size (in KB) of the saved wikitext.
  • HTML Size - The size (in KB) of the saved wikitext when converted to HTML.
  • Exp. Functions - The number of expensive parser functions on the page.
  • Node count - Number of HTML elements a page is outputting.
  • Post-expand size - The size of the page after parameters are inserted.
  • Template argument size - Best explained here.

Part of an alpha-level release is to not only illustrate the functionality of a feature but to gather feedback early in the process, allowing us to add more features or change features to meet user needs and requests. We very much want to hear how your community will use the tool, what functionality you feel is either lacking or redundant, or any other constructive feedback you would like to share. --DaNASCAT (help forum | blog) 22:14, March 29, 2013 (UTC)

Discussion

I know that I probably would not be one to use this tool so much because of my technological ineptitude, but I think it would be highly useful for those more inclined to do so. Since our objective is to constantly improve, and loading times have been brought up before, this could really only benefit us. Joe Copp 20:02, March 30, 2013 (UTC)

That forum had nothing to do with loading times. It was just to stop people using archives to hide warnings. 20:40, March 30, 2013 (UTC)
Perhaps reading the forum would do me well Happy-smile.png Joe Copp 16:12, March 31, 2013 (UTC)
But regardless of the bad example, this has been discussed before. Joe Copp 09:53, April 3, 2013 (UTC)

Ok, could I just ask somebody with better knowledge on this summarize this for me? http://i.imgur.com/E2uiO5T.png SmilularTalk http://i.imgur.com/KNXWYe1.png 03:04, March 31, 2013 (UTC)

It basically lists all the pages with a really long load time. Like if a page has loads of images and takes ages to load it's near the top of the list. It pointed out a userpage earlier that was taking up a load of space, turned out the page was using 32,000 bytes up from overuse of spaces, seen here. 04:49, March 31, 2013 (UTC)

This is a really, really cool new extension and could be extremely useful in making sure high traffic pages are loaded in an efficient and swift manner. Thanks a lot for setting us up with this and offering the webinar to help wikis make the most of it; I'm sure many wikis will make use of this in a highly constructive manner once it is fully rolled out.  FANMADE_Animated_Derpy_Hooves_desktop_ponies_sprite.gif Sig1.png Sig2.png  05:04, March 31, 2013 (UTC)

Seeing as Sam explained it for me, I'll say yes to this. Per CoD4 and Joe for reasons. http://i.imgur.com/E2uiO5T.png SmilularTalk http://i.imgur.com/KNXWYe1.png 16:03, March 31, 2013 (UTC)

Per all, seems like a good idea. Personal AndImBatman Sig imageBats a.k.a Rarity Filly  01:14, April 4, 2013 (UTC)

Per CoD4. As for improvements, its probably wise to add a "KEY" function at the bottom(or top) for people who dont speak technical jargon (not sure if thats how you use the phrase but w/e) and mabye shorten the list from 50 items to about 20 items per page, along with the ability to filter mainspaces. Opal is best pet.User:DrkDragonz66Talk page 01:19, April 4, 2013 (UTC)