Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

High Performance Ajax Applications


Published on

Published in: Technology

High Performance Ajax Applications

  1. High Performance Ajax Applications Julien Lecomte
  2. Part 1 Developing For High Performance
  3. Planning and designing for high performance <ul><li>Plan for performance from day 1 </li></ul><ul><li>Work closely with designers and product managers </li></ul><ul><li>Understand design rationale </li></ul><ul><li>Explain the tradeoffs between design and performance </li></ul><ul><li>Offer alternatives and show what is possible (prototype) </li></ul><ul><li>Challenge yourself to implement challenging designs (don't just say no) </li></ul><ul><li>Help simplify the design and interaction if needed (compromise) </li></ul>
  4. Engineering high performance: A few basic rules <ul><li>Less is more </li></ul><ul><ul><li>Don’t do anything unnecessary. </li></ul></ul><ul><ul><li>Don’t do anything until it becomes absolutely necessary. </li></ul></ul><ul><li>Break the rules </li></ul><ul><ul><li>Make compromises and break best practices, but only as a last resort! </li></ul></ul><ul><li>Work on improving perceived performance </li></ul><ul><ul><li>Users can deal with some reasonable amount of slowness if: </li></ul></ul><ul><ul><ul><li>They are informed appropriately that an operation is pending. </li></ul></ul></ul><ul><ul><ul><li>The user interface remains reactive at all time. </li></ul></ul></ul><ul><ul><li>Cheat whenever you can by first updating the UI and then do the work. </li></ul></ul><ul><ul><ul><li>Need to “lock” all or part of the user interface. </li></ul></ul></ul>
  5. Measuring performance <ul><li>Test performance using a setup similar to your users’ environment </li></ul><ul><li>Profile your code during development </li></ul><ul><li>Automate profiling/performance testing </li></ul><ul><li>Keep historical records of how features perform </li></ul><ul><li>Consider keeping some (small amount of) profiling code in production </li></ul>
  6. Part 2 High Performance Page Load
  7. Yahoo!'s Exceptional Performance rules <ul><li>Make Fewer HTTP Requests </li></ul><ul><li>Use a Content Delivery Network </li></ul><ul><li>Add an Expires Header </li></ul><ul><li>Gzip Components (including JS!) </li></ul><ul><li>Put CSS at the Top </li></ul><ul><li>Move Scripts to the Bottom </li></ul><ul><li>Avoid CSS Expressions </li></ul><ul><li>Make JavaScript and CSS External </li></ul><ul><li>Reduce DNS Lookups </li></ul><ul><li>Minify JavaScript </li></ul><ul><li>Avoid Redirects </li></ul><ul><li>Remove Duplicate Scripts </li></ul><ul><li>Configure ETags </li></ul><ul><li>Make Ajax Cacheable </li></ul><ul><li>See for more information. </li></ul><ul><li>A web page works in 3 (sometimes imbricated) stages: </li></ul><ul><li>load </li></ul><ul><li>render </li></ul><ul><li>run </li></ul><ul><li>These rules cover mostly the first stage. </li></ul>
  8. Asset optimization <ul><li>Minify CSS and JavaScript files: </li></ul><ul><ul><li>Use the YUI Compressor [ ] </li></ul></ul><ul><ul><li>Stay away from so-called advanced compression schemes - like Packer </li></ul></ul><ul><li>Combine CSS and JavaScript files: </li></ul><ul><ul><li>At build time [ ] </li></ul></ul><ul><ul><li>At run time </li></ul></ul><ul><li>Optimize image assets: </li></ul><ul><ul><li>PngCrush [ ] </li></ul></ul><ul><ul><li>PngOptimizer [ ] </li></ul></ul><ul><ul><li>etc. </li></ul></ul>
  9. Reduce unminified code size <ul><li>Loading and parsing HTML, CSS and JavaScript code is costly. </li></ul><ul><li>Be concise and write less code. </li></ul><ul><li>Make good use of JavaScript libraries. </li></ul><ul><li>Consider splitting your large JavaScript files into smaller files (bundles) when the parsing and compilation of the script takes an excessive amount of time ( Firefox bug #313967 ) </li></ul><ul><li>Load code (HTML, CSS and JavaScript) on demand (a.k.a “lazy loading”) </li></ul><ul><ul><li>See </li></ul></ul><ul><ul><li>Use the YUI Loader </li></ul></ul><ul><ul><li>Dojo's package system </li></ul></ul><ul><ul><li>JSAN Import System </li></ul></ul>
  10. Optimize initial rendering (1/4) Miscellaneous tips... <ul><li>Consider rendering the first view on the server: </li></ul><ul><ul><li>Be aware of the added page weight </li></ul></ul><ul><ul><li>You will still need to attach event handlers once the DOM is ready </li></ul></ul><ul><li>Close Your HTML Tags to Speed Up Parsing: </li></ul><ul><ul><li>Implicitly closed tags add cost to HTML parsing </li></ul></ul><ul><ul><li> </li></ul></ul><ul><li>Consider flushing the apache buffer very early on: </li></ul><ul><ul><li>The download of external CSS files (should be at the top of the page!) may get a head start. </li></ul></ul><ul><ul><li>May not influence the rendering speed however. Browsers buffer their input before displaying it. </li></ul></ul><ul><li>Load only essential assets / load assets on a delay or on demand </li></ul><ul><ul><li>Use the YUI Image Loader </li></ul></ul>
  11. Optimize initial rendering (2/4) Don’t always wait for onload ... <ul><li>Most DOM operations can be accomplished before the onload event has fired. </li></ul><ul><li>If you have control over where your code is going to be inserted in the page, write your init code in a <script> block located right before the closing </body> tag. </li></ul><ul><li>Otherwise, use the YUI Event utility’s onDOMReady method: </li></ul>YAHOO.util.Event.onDOMReady( function () { // Do something here... // e.g., attach event handlers. });
  12. Optimize initial rendering (3/4) Post-load script loading <ul><li>A well designed site should be fully functional, even without JavaScript enabled. </li></ul><ul><li>Therefore, you may be able to load scripts on a delay. </li></ul><ul><li>Doing so benefits the loading of other assets (style sheets, images, etc.) </li></ul><ul><li>Which makes your site load faster </li></ul><ul><li>Right before the closing </body> tag, insert the following: </li></ul><script> window.onload = function () { var script = document.createElement( &quot;script&quot; ); script.src = ...; document.body.appendChild(script); }; </script>
  13. Optimize initial rendering (4/4) Conditional preloading <ul><li>Preloading assets (JavaScript, CSS, Images, etc.) has the potential to really enhance the user experience. </li></ul><ul><li>However, one must be smart about when the preloading takes place. Otherwise, the preloading may actually worsen the user experience... </li></ul><ul><li> </li></ul><ul><li>Try it at </li></ul>
  14. Part 3 High Performance JavaScript
  15. Reduce the amount of symbolic look-up: The scope chain (1/2) var g = 7 ; function f(a) { var v = 8 ; x = v + a + g; } f(6); parent <ul><li>Look-up is performed every time a variable is accessed. </li></ul><ul><li>Variables are resolved backwards from most specific to least specific scope. </li></ul>
  16. Reduce the amount of symbolic look-up: The scope chain (2/2) <ul><li>Therefore, declare (with the var keyword) and use variables in the same scope whenever possible, and avoid global variables at all costs. </li></ul><ul><li>Never use the with keyword, as it prevents the compiler from generating code for fast access to local variables (traverse the object prototype chain first, and then up the scope chain, and so on) </li></ul><ul><li>Cache the result of expensive look-ups in local variables: </li></ul>var arr = ...; var globalVar = 0 ; ( function () { var i; for (i = 0 ; i < arr.length; i++) { globalVar++; } })(); var arr = ...; var globalVar = 0 ; ( function () { var i, l, localVar; l = arr.length; localVar = globalVar; for (i = 0 ; i < l; i++) { localVar++; } globalVar = localVar; })(); (faster on all A-grade browsers)
  17. Reduce the amount of symbolic look-up: The prototype chain function A () {} A.prototype.prop1 = ...; function B () { this .prop2 = ...; } B.prototype = new A(); var b = new B(); B.prototype <ul><li>Accessing members bound to the primary object is about 25% faster than accessing members defined anywhere in the prototype chain. </li></ul><ul><li>The longer the traversal of the prototype chain, the slower the look-up. </li></ul>
  18. Optimize object instantiation <ul><li>If you need to create many objects, consider adding members to the prototype instead of adding them to each individual object in the object constructor (properties are bound once, to the prototype object) </li></ul><ul><li>This also reduces memory consumption. </li></ul><ul><li>However, it slows down the look-up of object members. </li></ul>function Foo () {...} = function () {...}; function Foo () { this .bar = function () {...}; }
  19. Don’t use eval ! <ul><li>The string passed to eval (and its relatives, the Function constructor and the setTimeout and setInterval functions) needs to be compiled and interpreted. Extremely slow! </li></ul><ul><li>Never pass a string to the setTimeout and setInterval functions. Instead, pass an anonymous function like so: </li></ul>setTimeout( function () { // Code to execute on a timeout }, 50 ); <ul><li>Never use eval and the Function constructor (except in some extremely rare cases, and only in code blocks where performance is not critical) </li></ul>
  20. Optimize string concatenation <ul><li>On Internet Explorer (JScript), concatenating two strings causes a new string to be allocated, and the two original strings to be copied: </li></ul>var s = “xxx” + “yyy” ; s += “zzz” ; <ul><li>Therefore, it is much faster on Internet Explorer to append strings to an array, and then use Array.join (don’t use this for simple concatenations!) </li></ul>var i, s = “” ; for (i = 0 ; i < 10000 ; i++) { s += “x” ; } var i, s = []; for (i = 0 ; i < 10000 ; i++) { s[i] = “x” ; } s = s.join( “” ); <ul><li>Other JavaScript engines (WebKit, SpiderMonkey) have been optimized to handle string concatenations by doing a realloc + memcpy whenever possible. </li></ul><ul><li>Use the YUI Compressor! </li></ul>
  21. Optimize regular expressions <ul><li>Don’t use the RegExp constructor, unless your regular expression is assembled at runtime. Instead, use regular expression literals. </li></ul><ul><li>Use the test method if all you want to do is test for a pattern (the exec method carries a small performance penalty) </li></ul><ul><li>Use non-capturing groups (?: ... ) </li></ul><ul><li>Stick to simple patterns. If your regular expression looks like the following, reconsider... </li></ul>if ( /loaded|complete/ .test(document.readyState)) {...} (?:(?: )?[ ])*(?:(?:(?:[^()<>@,;:amp;quot;.[]00-31]+(?:(?:(?: )?[ ])+||(?=[[&quot;()<>@,;:amp;quot;.[]]))|&quot; (?:[^&quot; ||(?:(?: )?[ ]))*&quot;(?:(?: )?[ ])*)(?:.(?:(?: )?[ ])*(?:[^()<>@,;:amp;quot;.[]00-31 ]+(?:(?:(?: )?[ ])+||(?=[[&quot;()<>@,;:amp;quot;.[]]))|&quot;(?:[^&quot; ||(?:(?: )?[ ]))*&quot;(?:(?: )?[ ]) *))*@(?:(?: )?[ ])*(?:[^()<>@,;:amp;quot;.[]00-31]+(?:(?:(?: )?[ ])+||(?=[[&quot;()<>@,;:amp;quot;.[]]))|[ ([^[] |)*](?:(?: )?[ ])*)(?:.(?:(?: )?[ ])*(?:[^()<>@,;:amp;quot;.[]00-31]+(?:(?:(?: )? [ ])+||(?=[[&quot;()<>@,;:amp;quot;.[]]))|[([^[] |)*](?:(?: )?[ ])*))*|(?:[^()<>@,;:amp;quot;.[]00- 31]+(?:(?:(?: )?[ ])+||(?=[[&quot;()<>@,;:amp;quot;.[]]))|&quot;(?:[^&quot; ||(?:(?: )?[ ]))*&quot;(?:(?: )?[ ])*)*<(?:(?: )?[ ])*(?:@(?:[^()<>@,;:amp;quot;.[]00-31]+(?:(?:(?: )?[ ])+||(?=[[&quot;()<>@,;:amp;quot;.[] ]))|[([^[] |)*](?:(?: )?[ ])*)(?:.(?:(?: )?[ ])*(?:[^()<>@,;:amp;quot;.[]00-31]+(?:(?:(?: )?[ ])+||(?=[[&quot;()<>@,;:amp;quot;.[]]))|[([^[] |)*](?:(?: )?[ ])*))*(?:,@(?:(?: )?[ ]))
  22. Caching <ul><li>Caching can be justified by: </li></ul><ul><ul><li>High cost (CPU or network latency) associated with getting a value </li></ul></ul><ul><ul><li>Value will be read many times </li></ul></ul><ul><ul><li>And will not change often! </li></ul></ul><ul><li>Increases memory consumption  tradeoff </li></ul><ul><li>Memoization: </li></ul>var fn = ( function () { var b = false , v; return function () { if (!b) { v = ...; b = true ; } return v; }; })(); function fn () { if (!fn.b) { fn.v = ...; fn.b = true ; } return fn.v; } var fn = function () { var v = ...; return (fn = function () { return v; })(); }; Module pattern Store value in function object Lazy function definition
  23. How to handle long running JavaScript processes (1/2) <ul><li>During long running JavaScript processes, the entire browser UI is frozen </li></ul><ul><li>Therefore, to maintain a decent user experience, make sure that JavaScript threads never take more than ~ 300 msec (at most) to complete. </li></ul><ul><li>You can break long running processes into smaller units of work, and chain them using setTimeout . </li></ul><ul><li>You can also process the data on the server. </li></ul><ul><li>More info at </li></ul><ul><li>Demo </li></ul>
  24. How to handle long running JavaScript processes (2/2) function doSomething (callbackFn) { // Initialize a few things here... ( function () { // Do a little bit of work here... if ( termination condition ) { // We are done callbackFn(); } else { // Process next chunk setTimeout(arguments.callee, 0); } })(); }
  25. Miscellaneous tips (1/2) <ul><li>Primitive operations are often faster than the corresponding function calls: </li></ul>var a = 1 , b = 2 , c; c = Math.min(a, b); c = a < b ? a : b; <ul><li>If possible, avoid using try...catch in performance-critical sections: </li></ul>var i; for (i = 0 ; i < 100000 ; i++) { try { ... } catch (e) { ... } } var i; try { for (i = 0 ; i < 100000 ; i++) { ... } } catch (e) { ... } myArray.push(value); myArray[myArray.length] = value; myArray[idx++] = value;
  26. Miscellaneous tips (2/2) <ul><li>If possible, avoid in performance-critical sections: </li></ul>var key, value; for (key in myArray) { value = myArray[key]; ... } var i, value, length = myArray.length; for (i = 0 ; i < length; i++) { value = myArray[i]; ... } <ul><li>Branch outside, not inside, whenever the branching condition does not change: </li></ul>function fn () { if (...) { ... } else { ... } } var fn; if (...) { fn = function () {...}; } else { fn = function () {...}; }
  27. Part 4 High Performance Dynamic HTML
  28. Document tree modification Using innerHTML var i, j, el, table, tbody, row, cell; el = document.createElement( &quot;div&quot; ); document.body.appendChild(el); table = document.createElement( &quot;table&quot; ); el.appendChild(table); tbody = document.createElement( &quot;tbody&quot; ); table.appendChild(tbody); for (i = 0 ; i < 1000 ; i++) { row = document.createElement( &quot;tr&quot; ); for (j = 0 ; j < 5 ; j++) { cell = document.createElement( &quot;td&quot; ); row.appendChild(cell); } tbody.appendChild(row); } var i, j, el, idx, html; idx = 0 ; html = []; html[idx++] = &quot;<table>&quot; ; for (i = 0 ; i < 1000 ; i++) { html[idx++] = &quot;<tr>&quot; ; for (j = 0 ; j < 5 ; j++) { html[idx++] = &quot;<td></td>&quot; ; } html[idx++] = &quot;</tr>&quot; ; } html[idx++] = &quot;</table>&quot; ; el = document.createElement( &quot;div&quot; ); document.body.appendChild(el); el.innerHTML = html.join( &quot;&quot; ); ( much faster on all A-grade browsers) Warning: See
  29. Document tree modification Using cloneNode var i, j, el, table, tbody, row, cell; el = document.createElement( &quot;div&quot; ); document.body.appendChild(el); table = document.createElement( &quot;table&quot; ); el.appendChild(table); tbody = document.createElement( &quot;tbody&quot; ); table.appendChild(tbody); for (i = 0 ; i < 1000 ; i++) { row = document.createElement( &quot;tr&quot; ); for (j = 0 ; j < 5 ; j++) { cell = document.createElement( &quot;td&quot; ); row.appendChild(cell); } tbody.appendChild(row); } var i, el, table, tbody, template, row, cell; el = document.createElement( &quot;div&quot; ); document.body.appendChild(el); table = document.createElement( &quot;table&quot; ); el.appendChild(table); tbody = document.createElement( &quot;tbody&quot; ); table.appendChild(tbody); template = document.createElement( &quot;tr&quot; ); for (i = 0 ; i < 5 ; i++) { cell = document.createElement( &quot;td&quot; ); template.appendChild(cell); } for (i = 0 ; i < 1000 ; i++) { row = template.cloneNode(true); tbody.appendChild(row); } (faster on all A-grade browsers – sometimes much faster) Warning: expando properties/attached event handlers are lost!
  30. Document tree modification Using DocumentFragment <ul><li>A DocumentFragment (DOM Level 1 Core) is a lightweight Document object. </li></ul><ul><li>It supports only a subset of the regular DOM methods and properties. </li></ul><ul><li>IE’s implementation of the DocumentFragment interface does not comply with the W3C specification and returns a regular Document object. </li></ul>var i, j, el, table, tbody, row, cell, docFragment; docFragment = document.createDocumentFragment(); el = document.createElement( &quot;div&quot; ); docFragment.appendChild(el); table = document.createElement( &quot;table&quot; ); el.appendChild(table); tbody = document.createElement( &quot;tbody&quot; ); table.appendChild(tbody); for (i = 0 ; i < 1000 ; i++) { ... } document.body.appendChild(docFragment);
  31. Limit the number of event handlers (1/2) <ul><li>Attaching an event handler to hundreds of elements is very costly </li></ul><ul><li>Multiplying event handlers augments the potential for memory leaks </li></ul><ul><li>Solution: Use event delegation , a technique that relies on event bubbling </li></ul><div id= &quot;container&quot; > <ul> <li id= &quot;li-1&quot; > List Item 1 </li> <li id= &quot;li-2&quot; > List Item 2 </li> <li id= &quot;li-3&quot; > List Item 3 </li> <li id= &quot;li-4&quot; > List Item 4 </li> <li id= &quot;li-5&quot; > List Item 5 </li> ... </ul> </div> div#container ul li#li- x text node
  32. Limit the number of event handlers (2/2) YAHOO.util.Event.addListener( &quot;container&quot; , &quot;click&quot; , function (e) { var el = YAHOO.util.Event.getTarget(e); while ( !== &quot;container&quot; ) { if (el.nodeName.toUpperCase() === &quot;LI&quot; ) { // Do something here... break; } else { el = el.parentNode; } } });
  33. Limiting reflows <ul><li>Reflows happen whenever the DOM tree is manipulated. </li></ul><ul><li>Browsers have optimizations you may take advantage of to minimize reflow: </li></ul><ul><ul><li>Modifying an invisible element (display:none) does not trigger reflow </li></ul></ul><ul><ul><li>Modifying an element “off-DOM” does not trigger reflow </li></ul></ul><ul><li>Batch style changes: </li></ul><ul><ul><li>Change the value of the style attribute using setAttribute (does not work on Internet Explorer) Example: </li></ul></ul><ul><ul><li>Change the value of the cssText property of the style object. Example: </li></ul></ul><ul><ul><li>More maintainable: Change the CSS class name of an element. Example: </li></ul></ul> = &quot;display:block;width:auto;height:100px;...&quot; ; YAHOO.util.Dom.replaceClass(el, &quot;foo&quot; , &quot;bar&quot; ); el.setAttribute( &quot;style&quot; , &quot;display:block;width:auto;height:100px;...&quot; );
  34. Miscellaneous tips... <ul><li>Consider using the onmousedown event instead of the onclick event </li></ul><ul><ul><li>Get a head start by making use of the small delay between the time a user presses the mouse button and the time he/she releases it. </li></ul></ul><ul><li>“ Downshift your code”: throttle frequent and expensive actions </li></ul><ul><ul><li>See </li></ul></ul>
  35. Part 5 High Performance Layout and CSS
  36. Miscellaneous tips... <ul><li>Use CSS Sprites for Snappy Image Replacement. </li></ul><ul><li>Avoid using JavaScript for layout. </li></ul><ul><ul><li>window.onresize is throttled... </li></ul></ul><ul><ul><li>Use pure CSS instead! </li></ul></ul><ul><ul><li>Side benefits: improves maintainability, degrades more gracefully, etc. </li></ul></ul><ul><li>Avoid using Internet Explorer expressions </li></ul><ul><ul><li>Expressions are constantly evaluated in order to react to environment changes. </li></ul></ul><ul><ul><li>There are ways to more safely use expressions, but in general, you shouldn’t need/use them. </li></ul></ul><ul><li>Avoid using Internet Explorer filters (or keep their use to a minimum) </li></ul><ul><li>Optimize Table Layout </li></ul><ul><ul><li>Goal: allow the rendering engine to start rendering a table before it has received all the data </li></ul></ul><ul><ul><li>Use table-layout:fixed </li></ul></ul><ul><ul><li>Explicitly define a COL element for each column </li></ul></ul><ul><ul><li>Set the WIDTH attribute on each col </li></ul></ul><ul><li>Optimize your CSS selectors [ ] </li></ul>
  37. Part 6 High Performance Ajax
  38. Ajax Best Practices <ul><li>Never resort to using synchronous XMLHttpRequest </li></ul><ul><ul><li> </li></ul></ul><ul><ul><li>Asynchronous programming model slightly more complicated. </li></ul></ul><ul><ul><li>Need to lock all or part of the UI while the transaction is pending. </li></ul></ul><ul><li>Programmatically handle network timeouts. </li></ul><ul><li>Solution: Use the YUI Connection Manager: </li></ul>var callback = { success: function () { /* Do something */ }, failure: function () { /* Do something */ }, timeout: 5000 }; YAHOO.util.Connect.asyncRequest( &quot;GET&quot; , url, callback);
  39. Improving perceived network latency using the optimistic pattern <ul><li>If the data is validated locally (on the client, using JavaScript) before being sent to the server, the request will be successful in 99.9% of the cases. </li></ul><ul><li>Therefore, in order to optimize the user experience, we should assume a successful outcome and adopt the following pattern: </li></ul><ul><ul><li>Update the UI when the request gets sent. </li></ul></ul><ul><ul><li>Lock the UI/data structures with the finest possible granularity. </li></ul></ul><ul><ul><li>Let the user know that something is happening. </li></ul></ul><ul><ul><li>Let the user know why a UI object is locked. </li></ul></ul><ul><ul><li>Unlock the UI/data structures when the outcome is successful. </li></ul></ul><ul><ul><li>Handle error cases gracefully. </li></ul></ul>
  40. Miscellaneous tips... <ul><li>Be aware of the maximum number of concurrent HTTP/1.1 connections. </li></ul><ul><li>Multiplex Ajax requests whenever possible, and if your backend supports it. </li></ul><ul><li>Piggyback unsollicited notifications in a response to an Ajax request. </li></ul><ul><li>Favor JSON over XML as your data exchange format </li></ul><ul><ul><li>Accessing a JSON data structure is easier and cheaper than accessing XML data. </li></ul></ul><ul><ul><li>JSON has less overhead than XML. </li></ul></ul><ul><li>Push, don’t poll. Use COMET to send real-time notifications to the browser. </li></ul><ul><li>Consider using local storage to cache data locally, request a diff from the server: </li></ul><ul><ul><li>Internet Explorer’s userData </li></ul></ul><ul><ul><li>Flash local storage </li></ul></ul><ul><ul><li>DOM:Storage (WhatWG persistent storage API, implemented in Firefox 2) </li></ul></ul><ul><ul><li>Google Gears </li></ul></ul><ul><ul><li>etc. </li></ul></ul>
  41. Part 7 Performance Tools
  42. Performance Tools <ul><li>YSlow? [ ] </li></ul><ul><li>Task manager </li></ul><ul><li>IE Leak Detector a.k.a Drip [ ] </li></ul><ul><li>Stopwatch profiling </li></ul><ul><ul><li>AjaxView [ ] </li></ul></ul><ul><ul><li>JsLex [ ] </li></ul></ul><ul><ul><li>YUI profiler [ ] </li></ul></ul><ul><li>Venkman or Firebug Profiler [ ] </li></ul>