Testing hashing

JavaScript performance comparison

Test case created by Robert

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

<ol id="results" class="results mar_btn_50"><li id="hotel-28290" class="row hotel" data-id="28290" data-index="1" data-longitude="-0.225509" data-latitude="51.53012" data-url="/hostel-639" data-destination="London" itemscope="" itemtype="http://schema.org/Hotel"><div class="span12"><div class="js-hotel-content row"><div class="span3 image_span"><img src="http://s.top10cdn.com/images/719205/250/180" class="js-modal image" height="180" width="250" data-tab="gallery" alt="Hostel 639" data-mainimage="true" data-analytics="hotel main image"><div class="ribbon js-modal" data-tab="gallery" data-analytics="hotel offer ribbon"><span class="tag">85% OFF</span></div></div><div class="span5 hotel_details"><div class="row name_row no_wrap no_wrap_stars"><div class="span5"><div class="js-name js-modal hotel_name" data-tab="description" data-analytics="hotel name"><h4 itemprop="name">Hostel 639</h4><div class="stars star_1" data-stars="1"></div></div></div></div><div class="row"><div class="span3 js-location js-modal bubble bubble_address" itemprop="address" data-tab="map" data-analytics="hotel address">639 Harrow Road, Kensal Green</div><div class="span1 js-modal bubble bubble_rating" itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating" data-tab="review" data-analytics="hotel rating"><span class="js-hotel-rating" itemprop="ratingValue">50</span>%<meta itemprop="bestRating" content="100"></div><div class="span2 js-modal js-hotel-options hotel_options" data-tab="description" data-analytics="hotel option"><span class="js-hotel-option js-hotel-option-24-hour-reception hotel_option">24-hour-reception</span><div class="js-option-tooltip markup_tooltip_container more_options_container" data-number=""><span class="more_options show">+</span><div class="markup_tooltip"><ul></ul></div></div></div><div class="js-hotel-reviews none"><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">hotels.com</span><span class="js-review-name" itemprop="name">Hotels.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">44</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">laterooms.com</span><span class="js-review-name" itemprop="name">LateRooms.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">50</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">agoda.com</span><span class="js-review-name" itemprop="name">Agoda</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">73</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">booking.com</span><span class="js-review-name" itemprop="name">Booking.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">51</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">expedia.com</span><span class="js-review-name" itemprop="name">Expedia.co.uk</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">44.000000953674316</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">easytobook.com</span><span class="js-review-name" itemprop="name">Easytobook</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">40</span><span itemprop="bestRating">100</span></div></div></div><meta itemprop="latitude" content="51.53012"><meta itemprop="longitude" content="-0.225509"></div><div class="js-description row none"><div class="span5">Location.  Hostel 639 is located in Londons North London neighborhood, close to The General Cemetery of All Souls, Royal Albert Hall, and Portobello Road Market. Nearby points of interest also include Lor Cricket Ground and Kensington Palace. Property Features. Hostel 63 restaurant serves breakfast, lunch, and dinner. A bar/lounge is open for drinks. Wireless Internet access (surcharge) is available in public areas and the hostel has a com</div></div><div class="row hotel_img_opt"><div class="span js-modal js-hotel-images hotel_images" data-tab="gallery" data-images="4" data-analytics="hotel thumbnails"><img src="http://s.top10cdn.com/images/719202/50/50" height="50" width="50" alt="Hostel 639"><img src="http://s.top10cdn.com/images/719201/50/50" height="50" width="50" alt="Hostel 639"><img src="http://s.top10cdn.com/images/719203/50/50" height="50" width="50" alt="Hostel 639"><img src="http://s.top10cdn.com/images/719204/50/50" height="50" width="50" alt="Hostel 639"></div></div></div><div class="span4 prices"><ul class="row js-best-availabilities"><li data-href="http://www.booking.com/hotel/gb/hostel-639.html?aid=354419&amp;checkin=2013-04-07&amp;checkout=2013-04-08&amp;lang=en-gb&amp;selected_currency=GBP&amp;label={{clickId}}" class="price span2 no_wrap js-external-deal" data-id="28290" data-name="Hostel 639" data-provider="booking.com" data-price="10" data-price-total="10.20" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="1 Bed in 8-Bed Mixed Dorm" data-analytics="hero deal"><a href="http://www.booking.com/hotel/gb/hostel-639.html?aid=354419&amp;checkin=2013-04-07&amp;checkout=2013-04-08&amp;lang=en-gb&amp;selected_currency=GBP&amp;label={{clickId}}" target="_blank" class="js-external-deal" data-analytics="hero deal provider logo" data-id="28290" data-name="Hostel 639" data-provider="booking.com" data-price="10" data-price-total="10.20" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="1 Bed in 8-Bed Mixed Dorm"><span class="hotel_agent" data-provider="booking.com">Booking.com</span></a><del class="strikethrough"><small>£</small>68</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>10</span><button class="red" data-analytics="hero deal button">See deal</button></li><li data-href="http://www.laterooms.com/en/p1023/hotel-reservations/180376_hostel-639-london.aspx?d=20130407&amp;n=1&amp;currency=GBP&amp;utm_source=Top10.com&amp;utm_medium=aggregator&amp;utm_campaign=uk&amp;WT.tsrc=Aggregator&amp;WT.mc_id=Top10.com" class="price span2 no_wrap js-external-deal" data-id="28290" data-name="Hostel 639" data-provider="laterooms.com" data-price="12" data-price-total="12.00" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="8 PERSON DORMITORY- MIXED - RATES ARE PER PERSON" data-analytics="secondary deal"><a href="http://www.laterooms.com/en/p1023/hotel-reservations/180376_hostel-639-london.aspx?d=20130407&amp;n=1&amp;currency=GBP&amp;utm_source=Top10.com&amp;utm_medium=aggregator&amp;utm_campaign=uk&amp;WT.tsrc=Aggregator&amp;WT.mc_id=Top10.com" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="28290" data-name="Hostel 639" data-provider="laterooms.com" data-price="12" data-price-total="12.00" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="8 PERSON DORMITORY- MIXED - RATES ARE PER PERSON"><span class="hotel_agent" data-provider="laterooms.com">LateRooms.com</span></a><del class="strikethrough"><small>£</small>68</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>12</span><button class="red" data-analytics="secondary deal button">See deal</button></li><li data-href="http://clk.tradedoubler.com/click?p=21874&amp;a=2183235&amp;g=17344662&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.expedia.co.uk%2Fpubspec%2Fscripts%2Feap.asp%3FGOTO%3DHOTDETAILS%26Indate%3D07%2F04%2F2013%26Outdate%3D08%2F04%2F2013%26NumAdult%3D2%26Numroom%3D1%26HotId%3D2831521" class="price span2 no_wrap js-external-deal" data-id="28290" data-name="Hostel 639" data-provider="expedia.com" data-price="20" data-price-total="20.40" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="Bed in 8-Bed Mixed Dorm" data-analytics="secondary deal"><a href="http://clk.tradedoubler.com/click?p=21874&amp;a=2183235&amp;g=17344662&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.expedia.co.uk%2Fpubspec%2Fscripts%2Feap.asp%3FGOTO%3DHOTDETAILS%26Indate%3D07%2F04%2F2013%26Outdate%3D08%2F04%2F2013%26NumAdult%3D2%26Numroom%3D1%26HotId%3D2831521" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="28290" data-name="Hostel 639" data-provider="expedia.com" data-price="20" data-price-total="20.40" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="Bed in 8-Bed Mixed Dorm"><span class="hotel_agent" data-provider="expedia.com">Expedia.co.uk</span></a><del class="strikethrough"><small>£</small>68</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>20</span><button class="red" data-analytics="secondary deal button">See deal</button></li><li data-href="http://clk.tradedoubler.com/click?p=19300&amp;a=2183235&amp;g=17461688&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.hotels.com%2FPPCHotelDetails%3Fhotelid%3D325381%26numberOfRooms%3D1%26adultsPerRoom%3D2%26arrivalDate%3D07%2F04%2F2013%26departureDate%3D08%2F04%2F2013%26view%3Drate" class="price span2 no_wrap js-external-deal" data-id="28290" data-name="Hostel 639" data-provider="hotels.com" data-price="20" data-price-total="20.40" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="Bed in 8-Bed Mixed Dorm" data-analytics="secondary deal"><a href="http://clk.tradedoubler.com/click?p=19300&amp;a=2183235&amp;g=17461688&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.hotels.com%2FPPCHotelDetails%3Fhotelid%3D325381%26numberOfRooms%3D1%26adultsPerRoom%3D2%26arrivalDate%3D07%2F04%2F2013%26departureDate%3D08%2F04%2F2013%26view%3Drate" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="28290" data-name="Hostel 639" data-provider="hotels.com" data-price="20" data-price-total="20.40" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="Bed in 8-Bed Mixed Dorm"><span class="hotel_agent" data-provider="hotels.com">Hotels.com</span></a><del class="strikethrough"><small>£</small>68</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>20</span><button class="red" data-analytics="secondary deal button">See deal</button></li></ul></div></div><div class="row js-more-deals more_deals hide"><div class="span12"><div class="row js-more-deals-header more_deals_header"><div class="span2 booking_column">Booking partner</div><div class="span3 offer_column">Offer</div><div class="span4 room_column">Room details</div><div class="span3 price_column">Price per night</div></div><div class="js-deals deals"><div class="row"><div class="span12 loading_deals"><div class="loader deals_loader static show"></div></div></div></div></div><div class="js-reveal-more-deals reveal_more_deals no_wrap close">Close deals</div></div><div class="js-reveal-more-deals reveal_more_deals no_wrap">Compare deals</div></div></li><li id="hotel-400073" class="row hotel" data-id="400073" data-index="2" data-longitude="-0.106069" data-latitude="51.498924" data-url="/h10-london-waterloo-hotel" data-destination="London" itemscope="" itemtype="http://schema.org/Hotel"><div class="span12"><div class="js-hotel-content row"><div class="span3 image_span"><img src="http://s.top10cdn.com/images/730504/250/180" class="js-modal image" height="180" width="250" data-tab="gallery" alt="H10 London Waterloo Hotel" data-mainimage="true" data-analytics="hotel main image"><div class="ribbon js-modal" data-tab="gallery" data-analytics="hotel offer ribbon"><span class="tag">20% OFF</span></div></div><div class="span5 hotel_details"><div class="row name_row no_wrap no_wrap_stars"><div class="span5"><div class="js-name js-modal hotel_name" data-tab="description" data-analytics="hotel name"><h4 itemprop="name">H10 London Waterloo Hotel</h4><div class="stars star_4" data-stars="4"></div></div></div></div><div class="row"><div class="span3 js-location js-modal bubble bubble_address" itemprop="address" data-tab="map" data-analytics="hotel address">284 to 302 Waterloo Road</div><div class="span1 js-modal bubble bubble_rating" itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating" data-tab="review" data-analytics="hotel rating"><span class="js-hotel-rating" itemprop="ratingValue">86</span>%<meta itemprop="bestRating" content="100"></div><div class="span2 js-modal js-hotel-options hotel_options" data-tab="description" data-analytics="hotel option"><span class="js-hotel-option js-hotel-option-24-hour-reception hotel_option">24-hour-reception</span><span class="js-hotel-option js-hotel-option-bar hotel_option">bar</span><span class="js-hotel-option js-hotel-option-business-centre hotel_option">business-centre</span><span class="js-hotel-option js-hotel-option-elevator hotel_option">elevator</span><span class="js-hotel-option js-hotel-option-gym hotel_option">gym</span><span class="js-hotel-option js-hotel-option-laundry-service hotel_option">laundry-service</span><span class="js-hotel-option js-hotel-option-non-smoking-rooms hotel_option">non-smoking-rooms</span><span class="js-hotel-option js-hotel-option-onsite-doctor hotel_option">onsite-doctor</span><span class="js-hotel-option js-hotel-option-room-service hotel_option">room-service</span><span class="js-hotel-option js-hotel-option-sauna hotel_option">sauna</span><span class="js-hotel-option js-hotel-option-wheelchair-friendly hotel_option">wheelchair-friendly</span><div class="js-option-tooltip markup_tooltip_container more_options_container" data-number=""><span class="more_options show">+</span><div class="markup_tooltip"><ul></ul></div></div></div><div class="js-hotel-reviews none"><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">laterooms.com</span><span class="js-review-name" itemprop="name">LateRooms.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">83.33333333333334</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">expedia.com</span><span class="js-review-name" itemprop="name">Expedia.co.uk</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">91.99999809265137</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">booking.com</span><span class="js-review-name" itemprop="name">Booking.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">85</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">hotels.com</span><span class="js-review-name" itemprop="name">Hotels.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">88</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">easytobook.com</span><span class="js-review-name" itemprop="name">Easytobook</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">90</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">agoda.com</span><span class="js-review-name" itemprop="name">Agoda</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">79</span><span itemprop="bestRating">100</span></div></div></div><meta itemprop="latitude" content="51.498924"><meta itemprop="longitude" content="-0.106069"></div><div class="js-description row none"><div class="span5">The hotel H10 London Waterloo is a newly-build stunning 4 star with a superb location in the well known Waterloo Road, 5 minutes away from Waterloo Tube Station. The hotel has 177 stylish and elegant guest rooms (144 Standard Double Bedrooms, 32 Deluxe Bedrooms and 1 Suite). It is equipped with all services common to our H10 City Hotels (including a large selection of products on our Breakfast Buffet), the Three O Two restaurant (A la Carte authors cuisine Restaurant or when booking half board,you will enjoy a Dinner with a 3 course set menu,drinks not included),Lobby Bar with Business Corner, GYM and a Health and Beauty Area (located on the 8th floor with impressive views of the city). There are also 4 fully equipped meeting rooms as well as COMPLIMENTARY WI-FI throughout the hotel. Complimentary Glass of Cava offered upon arrival.</div></div><div class="row hotel_img_opt"><div class="span js-modal js-hotel-images hotel_images" data-tab="gallery" data-images="4" data-analytics="hotel thumbnails"><img src="http://s.top10cdn.com/images/730506/50/50" height="50" width="50" alt="H10 London Waterloo Hotel"><img src="http://s.top10cdn.com/images/730505/50/50" height="50" width="50" alt="H10 London Waterloo Hotel"><img src="http://s.top10cdn.com/images/730510/50/50" height="50" width="50" alt="H10 London Waterloo Hotel"><img src="http://s.top10cdn.com/images/730508/50/50" height="50" width="50" alt="H10 London Waterloo Hotel"></div></div></div><div class="span4 prices"><ul class="row js-best-availabilities"><li data-href="http://www.laterooms.com/en/p1023/hotel-reservations/194633_h10-london-waterloo-london.aspx?d=20130407&amp;n=1&amp;currency=GBP&amp;utm_source=Top10.com&amp;utm_medium=aggregator&amp;utm_campaign=uk&amp;WT.tsrc=Aggregator&amp;WT.mc_id=Top10.com" class="price span2 no_wrap js-external-deal" data-id="400073" data-name="H10 London Waterloo Hotel" data-provider="laterooms.com" data-price="115" data-price-total="115.00" data-currency="£" data-img="http://s.top10cdn.com/images/730504/250/180" data-index="2" data-stars="4" data-room="Plenty styled in a charming and comfortable decoration amidst elegant hues of white and golden our Standard Rooms with Street Views presents 19 square meters of excellent accommodation, complemented by a wealth of amenities." data-analytics="hero deal"><a href="http://www.laterooms.com/en/p1023/hotel-reservations/194633_h10-london-waterloo-london.aspx?d=20130407&amp;n=1&amp;currency=GBP&amp;utm_source=Top10.com&amp;utm_medium=aggregator&amp;utm_campaign=uk&amp;WT.tsrc=Aggregator&amp;WT.mc_id=Top10.com" target="_blank" class="js-external-deal" data-analytics="hero deal provider logo" data-id="400073" data-name="H10 London Waterloo Hotel" data-provider="laterooms.com" data-price="115" data-price-total="115.00" data-currency="£" data-img="http://s.top10cdn.com/images/730504/250/180" data-index="2" data-stars="4" data-room="Plenty styled in a charming and comfortable decoration amidst elegant hues of white and golden our Standard Rooms with Street Views presents 19 square meters of excellent accommodation, complemented by a wealth of amenities."><span class="hotel_agent" data-provider="laterooms.com">LateRooms.com</span></a><del class="strikethrough"><small>£</small>145</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>115</span><button class="red" data-analytics="hero deal button">See deal</button></li><li data-href="http://www.booking.com/hotel/gb/h10-london-waterloo.html?aid=354419&amp;checkin=2013-04-07&amp;checkout=2013-04-08&amp;lang=en-gb&amp;selected_currency=GBP&amp;label={{clickId}}" class="price span2 no_wrap js-external-deal" data-id="400073" data-name="H10 London Waterloo Hotel" data-provider="booking.com" data-price="115" data-price-total="115.00" data-currency="£" data-img="http://s.top10cdn.com/images/730504/250/180" data-index="2" data-stars="4" data-room="Double Room (1 Adult)" data-analytics="secondary deal"><a href="http://www.booking.com/hotel/gb/h10-london-waterloo.html?aid=354419&amp;checkin=2013-04-07&amp;checkout=2013-04-08&amp;lang=en-gb&amp;selected_currency=GBP&amp;label={{clickId}}" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="400073" data-name="H10 London Waterloo Hotel" data-provider="booking.com" data-price="115" data-price-total="115.00" data-currency="£" data-img="http://s.top10cdn.com/images/730504/250/180" data-index="2" data-stars="4" data-room="Double Room (1 Adult)"><span class="hotel_agent" data-provider="booking.com">Booking.com</span></a><del class="strikethrough"><small>£</small>145</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>115</span><button class="red" data-analytics="secondary deal button">See deal</button></li><li data-href="http://clk.tradedoubler.com/click?p=21874&amp;a=2183235&amp;g=17344662&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.expedia.co.uk%2Fpubspec%2Fscripts%2Feap.asp%3FGOTO%3DHOTDETAILS%26Indate%3D07%2F04%2F2013%26Outdate%3D08%2F04%2F2013%26NumAdult%3D2%26Numroom%3D1%26HotId%3D3189581" class="price span2 no_wrap js-external-deal" data-id="400073" data-name="H10 London Waterloo Hotel" data-provider="expedia.com" data-price="135" data-price-total="135.00" data-currency="£" data-img="http://s.top10cdn.com/images/730504/250/180" data-index="2" data-stars="4" data-room="Double Room - Room Only" data-analytics="secondary deal"><a href="http://clk.tradedoubler.com/click?p=21874&amp;a=2183235&amp;g=17344662&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.expedia.co.uk%2Fpubspec%2Fscripts%2Feap.asp%3FGOTO%3DHOTDETAILS%26Indate%3D07%2F04%2F2013%26Outdate%3D08%2F04%2F2013%26NumAdult%3D2%26Numroom%3D1%26HotId%3D3189581" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="400073" data-name="H10 London Waterloo Hotel" data-provider="expedia.com" data-price="135" data-price-total="135.00" data-currency="£" data-img="http://s.top10cdn.com/images/730504/250/180" data-index="2" data-stars="4" data-room="Double Room - Room Only"><span class="hotel_agent" data-provider="expedia.com">Expedia.co.uk</span></a><del class="strikethrough"><small>£</small>145</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>135</span><button class="red" data-analytics="secondary deal button">See deal</button></li><li data-href="http://www.agoda.com/partners/xml2012_landing.aspx?siteid=1583311&amp;currency=GBP&amp;asq=jiqCrScmclKe1W7Sd6Myy3uu5NySX1lUbINma5P8C%2fgwy4xqCbogMe3RhIHLzLuYNEm8X7eqIVnpLtPYHDA765DjW5NM3hwPfnEXqsvzunL1%2f0Ev3n7Qd585heFgn%2b%2f0iKFlz2%2bKa57zkXopolc56g%3d%3d&amp;tag={{clickId}}" class="price span2 no_wrap js-external-deal" data-id="400073" data-name="H10 London Waterloo Hotel" data-provider="agoda.com" data-price="135" data-price-total="135.00" data-currency="£" data-img="http://s.top10cdn.com/images/730504/250/180" data-index="2" data-stars="4" data-room="Double" data-analytics="secondary deal"><a href="http://www.agoda.com/partners/xml2012_landing.aspx?siteid=1583311&amp;currency=GBP&amp;asq=jiqCrScmclKe1W7Sd6Myy3uu5NySX1lUbINma5P8C%2fgwy4xqCbogMe3RhIHLzLuYNEm8X7eqIVnpLtPYHDA765DjW5NM3hwPfnEXqsvzunL1%2f0Ev3n7Qd585heFgn%2b%2f0iKFlz2%2bKa57zkXopolc56g%3d%3d&amp;tag={{clickId}}" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="400073" data-name="H10 London Waterloo Hotel" data-provider="agoda.com" data-price="135" data-price-total="135.00" data-currency="£" data-img="http://s.top10cdn.com/images/730504/250/180" data-index="2" data-stars="4" data-room="Double"><span class="hotel_agent" data-provider="agoda.com">Agoda</span></a><del class="strikethrough"><small>£</small>145</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>135</span><button class="red" data-analytics="secondary deal button">See deal</button></li></ul></div></div><div class="row js-more-deals more_deals hide"><div class="span12"><div class="row js-more-deals-header more_deals_header"><div class="span2 booking_column">Booking partner</div><div class="span3 offer_column">Offer</div><div class="span4 room_column">Room details</div><div class="span3 price_column">Price per night</div></div><div class="js-deals deals"><div class="row"><div class="span12 loading_deals"><div class="loader deals_loader static show"></div></div></div></div></div><div class="js-reveal-more-deals reveal_more_deals no_wrap close">Close deals</div></div><div class="js-reveal-more-deals reveal_more_deals no_wrap">Compare deals</div></div></li></ol>
<script>
Benchmark.prototype.setup = function() {
    var hotel = {"hotels": [{"id":"172924","updatedAt":"1363001547913","createdAt":"1363004804697","name":"Miyako Hotel Los Angeles","slug":"miyako-hotel-los-angeles-los-angeles-california","stars":3,"address":"328 East 1st Street","postalCode":"CA 90012","checkIn":{},"checkOut":{},"latitude":34.049611,"longitude":-118.240295,"description":"Bright, contemporary hotel with multilingual staff in L.A.s Little Tokyo district, a half-block from the Japanese American National Museum and one block from MoCA at the Geffen. ","agentHotels":[{"id":"vfmleonardo.com:1093544","updatedAt":"1363576775205","createdAt":"1363233717438","agent":{"id":"vfmleonardo.com","name":"vfmleonardo.com"},"agentHotelId":"1093544","hotelId":"172924","availabilities":[]},{"id":"expedia.com:4465","updatedAt":"1363587684324","createdAt":"1363497413134","agent":{"id":"expedia.com","name":"Expedia.co.uk"},"agentHotelId":"4465","hotelId":"172924","description":"Bright, contemporary hotel with multilingual staff in L.As Little Tokyo district, a half-block from the Japanese American National Museum and one block from MoCA at the Geffen. ","link":"http://www.expedia.co.uk/pubspec/scripts/eap.asp?GOTO=HOTDETAILS&HotID=4465&eapid=4227-3","rating":68.00000190734863,"availabilities":[{"updatedAt":"1363603391567","createdAt":"1363603391567","arrival":"2013-03-20","departure":"2013-03-22","agentHotelId":"expedia.com:4465","hotelId":"172924","pending":false,"availabilities":[{"name":"Deluxe - 2 Doubles","price":"GBP 286.28","link":"http://clk.tradedoubler.com/click?p=21874&a=2183235&g=17344662&epi2={{clickId}}&url=http%3A%2F%2Fwww.expedia.co.uk%2Fpubspec%2Fscripts%2Feap.asp%3FGOTO%3DHOTDETAILS%26Indate%3D20%2F03%2F2013%26Outdate%3D22%2F03%2F2013%26NumAdult%3D2%26Numroom%3D1%26HotId%3D4465","details":"Refundable"}]}]},{"id":"expediaaffiliate.com:131679","updatedAt":"1363247295417","createdAt":"1362025094388","agent":{"id":"expediaaffiliate.com","name":"expediaaffiliate.com"},"agentHotelId":"131679","hotelId":"172924","availabilities":[]},{"id":"easytobook.com:18120","updatedAt":"1362019304660","createdAt":"1360257635746","agent":{"id":"easytobook.com","name":"Easytobook"},"agentHotelId":"18120","hotelId":"172924","rating":70.0,"availabilities":[{"updatedAt":"1363603392561","createdAt":"1363603392561","arrival":"2013-03-20","departure":"2013-03-22","agentHotelId":"easytobook.com:18120","hotelId":"172924","pending":false,"availabilities":[{"name":"Two Persons Deluxe - Two Doubles","price":"GBP 291.42","link":"http://www.easytobook.com/hoteldetails.php?arrival=20-03-2013&departure=22-03-2013&rooms=1&&hotel_id=18120&amu=280825438&label={{clickId}}&utm_source=Top10&utm_medium=affiliate&utm_campaign=uk"},{"name":"Two Persons Executive - Two Doubles","price":"GBP 321.46","link":"http://www.easytobook.com/hoteldetails.php?arrival=20-03-2013&departure=22-03-2013&rooms=1&&hotel_id=18120&amu=280825438&label={{clickId}}&utm_source=Top10&utm_medium=affiliate&utm_campaign=uk"}]}]},{"id":"booking.com:59317","updatedAt":"1363571293187","createdAt":"1363398071796","agent":{"id":"booking.com","name":"Booking.com"},"agentHotelId":"59317","hotelId":"172924","link":"http://www.booking.com/hotel/us/miyako-los-angeles.html","rating":78.0,"availabilities":[{"updatedAt":"1363603392026","createdAt":"1363603392026","arrival":"2013-03-20","departure":"2013-03-22","agentHotelId":"booking.com:59317","hotelId":"172924","pending":false,"availabilities":[{"name":"Deluxe Double Room with Two Double Beds","price":"GBP 256.39","link":"http://www.booking.com/hotel/us/miyako-los-angeles.html?aid=354419&checkin=2013-03-20&checkout=2013-03-22&lang=en-gb&selected_currency=GBP&label={{clickId}}"},{"name":"Executive Double Room with Two Double Beds - Non-refundable","price":"GBP 229.96","link":"http://www.booking.com/hotel/us/miyako-los-angeles.html?aid=354419&checkin=2013-03-20&checkout=2013-03-22&lang=en-gb&selected_currency=GBP&label={{clickId}}"},{"name":"Double Room with Two Double Beds","price":"GBP 229.96","link":"http://www.booking.com/hotel/us/miyako-los-angeles.html?aid=354419&checkin=2013-03-20&checkout=2013-03-22&lang=en-gb&selected_currency=GBP&label={{clickId}}"},{"name":"Executive Double Room with Two Double Beds","price":"GBP 282.82","link":"http://www.booking.com/hotel/us/miyako-los-angeles.html?aid=354419&checkin=2013-03-20&checkout=2013-03-22&lang=en-gb&selected_currency=GBP&label={{clickId}}"}]}]},{"id":"hotels.com:131679","updatedAt":"1363492579403","createdAt":"1363319759953","agent":{"id":"hotels.com","name":"Hotels.com"},"agentHotelId":"131679","hotelId":"172924","description":"Location.  Miyako Hotel Los Angeles is located in Los Angeless Little Tokyo neighborhood, close to Japanese American National Museum, Walt Disney Concert Hall, and Nokia Theater. Nearby points of interest also include Staples Center and Los Angeles Convention Center. Hotel Features. Dining options at Miyako Hotel Los Angeles include a restaurant and a coffee shop/café. A bar/lounge is open for drinks. Room service is available during limited hou","rating":80.0,"availabilities":[{"updatedAt":"1363603393854","createdAt":"1363603393854","arrival":"2013-03-20","departure":"2013-03-22","agentHotelId":"hotels.com:131679","hotelId":"172924","pending":false,"availabilities":[{"name":"Deluxe - 2 Doubles","price":"GBP 286.28","link":"http://clk.tradedoubler.com/click?p=19300&a=2183235&g=17461688&epi2={{clickId}}&url=http%3A%2F%2Fwww.hotels.com%2FPPCHotelDetails%3Fhotelid%3D131679%26numberOfRooms%3D1%26adultsPerRoom%3D2%26arrivalDate%3D20%2F03%2F2013%26departureDate%3D22%2F03%2F2013%26view%3Drate"}]}]},{"id":"agoda.com:64424","updatedAt":"1363205632520","createdAt":"1362537147250","agent":{"id":"agoda.com","name":"Agoda"},"agentHotelId":"64424","hotelId":"172924","description":"Set in a prime location of Los Angeles (CA), Miyako Los Angeles Hotel puts everything the city has to offer just outside your doorstep. Both business travelers and tourists can enjoy the hotels facilities and services. Business center, safety deposit boxes, meeting facilities, 24hr room service, restaurant are there for guests enjoyment. The well-appointed guestrooms feature hair dryer, bathrobes, separate shower and tub, television, air conditioning. Take a break from a long day and make use of fitness center, jacuzzi, sauna, massage, spa. No matter what your reasons are for visiting Los Angeles (CA), Miyako Los Angeles Hotel will make you feel instantly at home.","link":"http://agoda.com/north_america/united_states/los_angeles_ca/miyako_los_angeles_hotel.html","rating":77.0,"availabilities":[{"updatedAt":"1363603389958","createdAt":"1363603389958","arrival":"2013-03-20","departure":"2013-03-22","agentHotelId":"agoda.com:64424","hotelId":"172924","pending":false,"availabilities":[]}]}],"averageRating":75,"mainImage":{"id":"348331","url":"http://s.top10cdn.com/images/348331","width":508,"height":340},"images":[{"id":"348335","url":"http://s.top10cdn.com/images/348335","width":672,"height":389},{"id":"348333","url":"http://s.top10cdn.com/images/348333","width":2048,"height":1536},{"id":"348342","url":"http://s.top10cdn.com/images/348342","width":549,"height":361},{"id":"348344","url":"http://s.top10cdn.com/images/348344","width":541,"height":361},{"id":"348340","url":"http://s.top10cdn.com/images/348340","width":506,"height":346},{"id":"348343","url":"http://s.top10cdn.com/images/348343","width":506,"height":379},{"id":"348339","url":"http://s.top10cdn.com/images/348339","width":551,"height":361},{"id":"348337","url":"http://s.top10cdn.com/images/348337","width":542,"height":362},{"id":"348329","url":"http://s.top10cdn.com/images/348329","width":541,"height":361}],"options":["24-hour-reception","business-centre","elevator","gym","laundry-service","parking","room-service","sauna","spa","steam"],"bestAvailabilities":[{"roomName":"Executive Double Room with Two Double Beds - Non-refundable","pending":false,"available":true,"price":"GBP 229.96","priceCurrencySign":"£","priceString":"229.96","pricePerNight":"GBP 114.98","pricePerNightString":"115","link":"http://www.booking.com/hotel/us/miyako-los-angeles.html?aid=354419&checkin=2013-03-20&checkout=2013-03-22&lang=en-gb&selected_currency=GBP&label={{clickId}}","agent":{"id":"booking.com","name":"Booking.com"},"best":true},{"roomName":"Deluxe - 2 Doubles","pending":false,"available":true,"price":"GBP 286.28","priceCurrencySign":"£","priceString":"286.28","pricePerNight":"GBP 143.14","pricePerNightString":"143","link":"http://clk.tradedoubler.com/click?p=21874&a=2183235&g=17344662&epi2={{clickId}}&url=http%3A%2F%2Fwww.expedia.co.uk%2Fpubspec%2Fscripts%2Feap.asp%3FGOTO%3DHOTDETAILS%26Indate%3D20%2F03%2F2013%26Outdate%3D22%2F03%2F2013%26NumAdult%3D2%26Numroom%3D1%26HotId%3D4465","agent":{"id":"expedia.com","name":"Expedia.co.uk"},"best":false},{"roomName":"Deluxe - 2 Doubles","pending":false,"available":true,"price":"GBP 286.28","priceCurrencySign":"£","priceString":"286.28","pricePerNight":"GBP 143.14","pricePerNightString":"143","link":"http://clk.tradedoubler.com/click?p=19300&a=2183235&g=17461688&epi2={{clickId}}&url=http%3A%2F%2Fwww.hotels.com%2FPPCHotelDetails%3Fhotelid%3D131679%26numberOfRooms%3D1%26adultsPerRoom%3D2%26arrivalDate%3D20%2F03%2F2013%26departureDate%3D22%2F03%2F2013%26view%3Drate","agent":{"id":"hotels.com","name":"Hotels.com"},"best":false},{"roomName":"Two Persons Deluxe - Two Doubles","pending":false,"available":true,"price":"GBP 291.42","priceCurrencySign":"£","priceString":"291.42","pricePerNight":"GBP 145.71","pricePerNightString":"146","link":"http://www.easytobook.com/hoteldetails.php?arrival=20-03-2013&departure=22-03-2013&rooms=1&&hotel_id=18120&amu=280825438&label={{clickId}}&utm_source=Top10&utm_medium=affiliate&utm_campaign=uk","agent":{"id":"easytobook.com","name":"Easytobook"},"best":false}],"strikePrice":"GBP 145.71","strikePriceString":"145.71"}], "time": 116, "total": 1391, "offset": 0, "count": 1, "price_sample" : [10,37,43,51,59,71,95,118,150,610], "completion" : 0.994895065229722}
   
    var crapHash = 'booking.com-GBP 1047.36-easytobook.com-GBP 1054.17-expedia.com-GBP 1054.17-hotels.com-GBP 1054.17';
};
</script>

Preparation code output

  1. Hostel 639
    85% OFF

    Hostel 639

    639 Harrow Road, Kensal Green
    50%
    24-hour-reception
    +
      hotels.comHotels.com
      44100
      laterooms.comLateRooms.com
      50100
      agoda.comAgoda
      73100
      booking.comBooking.com
      51100
      expedia.comExpedia.co.uk
      44.000000953674316100
      easytobook.comEasytobook
      40100
      Location. Hostel 639 is located in Londons North London neighborhood, close to The General Cemetery of All Souls, Royal Albert Hall, and Portobello Road Market. Nearby points of interest also include Lor Cricket Ground and Kensington Palace. Property Features. Hostel 63 restaurant serves breakfast, lunch, and dinner. A bar/lounge is open for drinks. Wireless Internet access (surcharge) is available in public areas and the hostel has a com
      Hostel 639Hostel 639Hostel 639Hostel 639
      Booking partner
      Offer
      Room details
      Price per night
      Close deals
      Compare deals
    • H10 London Waterloo Hotel
      20% OFF

      H10 London Waterloo Hotel

      284 to 302 Waterloo Road
      86%
      24-hour-receptionbarbusiness-centreelevatorgymlaundry-servicenon-smoking-roomsonsite-doctorroom-servicesaunawheelchair-friendly
      +
        laterooms.comLateRooms.com
        83.33333333333334100
        expedia.comExpedia.co.uk
        91.99999809265137100
        booking.comBooking.com
        85100
        hotels.comHotels.com
        88100
        easytobook.comEasytobook
        90100
        agoda.comAgoda
        79100
        The hotel H10 London Waterloo is a newly-build stunning 4 star with a superb location in the well known Waterloo Road, 5 minutes away from Waterloo Tube Station. The hotel has 177 stylish and elegant guest rooms (144 Standard Double Bedrooms, 32 Deluxe Bedrooms and 1 Suite). It is equipped with all services common to our H10 City Hotels (including a large selection of products on our Breakfast Buffet), the Three O Two restaurant (A la Carte authors cuisine Restaurant or when booking half board,you will enjoy a Dinner with a 3 course set menu,drinks not included),Lobby Bar with Business Corner, GYM and a Health and Beauty Area (located on the 8th floor with impressive views of the city). There are also 4 fully equipped meeting rooms as well as COMPLIMENTARY WI-FI throughout the hotel. Complimentary Glass of Cava offered upon arrival.
        H10 London Waterloo HotelH10 London Waterloo HotelH10 London Waterloo HotelH10 London Waterloo Hotel
        Booking partner
        Offer
        Room details
        Price per night
        Close deals
        Compare deals

      Test runner

      Warning! For accurate results, please disable Firebug before running the tests. (Why?)

      Java applet disabled.

      Testing in unknown unknown
      Test Ops/sec
      Replace
      var $hotel = $('#hotel-28290');
      var html = '<div class="span3 image_span"><img src="http://s.top10cdn.com/images/719205/250/180" class="js-modal image" height="180" width="250" data-tab="gallery" alt="Hostel 639" data-mainimage="true" data-analytics="hotel main image"><div class="ribbon js-modal" data-tab="gallery" data-analytics="hotel offer ribbon"><span class="tag">85% OFF</span></div></div><div class="span5 hotel_details"><div class="row name_row no_wrap no_wrap_stars"><div class="span5"><div class="js-name js-modal hotel_name" data-tab="description" data-analytics="hotel name"><h4 itemprop="name">Hostel 639</h4><div class="stars star_1" data-stars="1"></div></div></div></div><div class="row"><div class="span3 js-location js-modal bubble bubble_address" itemprop="address" data-tab="map" data-analytics="hotel address">639 Harrow Road, Kensal Green</div><div class="span1 js-modal bubble bubble_rating" itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating" data-tab="review" data-analytics="hotel rating"><span class="js-hotel-rating" itemprop="ratingValue">50</span>%<meta itemprop="bestRating" content="100"></div><div class="span2 js-modal js-hotel-options hotel_options" data-tab="description" data-analytics="hotel option"><span class="js-hotel-option js-hotel-option-24-hour-reception hotel_option">24-hour-reception</span><div class="js-option-tooltip markup_tooltip_container more_options_container" data-number=""><span class="more_options show">+</span><div class="markup_tooltip"><ul></ul></div></div></div><div class="js-hotel-reviews none"><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">hotels.com</span><span class="js-review-name" itemprop="name">Hotels.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">44</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">laterooms.com</span><span class="js-review-name" itemprop="name">LateRooms.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">50</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">agoda.com</span><span class="js-review-name" itemprop="name">Agoda</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">73</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">booking.com</span><span class="js-review-name" itemprop="name">Booking.com</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">51</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">expedia.com</span><span class="js-review-name" itemprop="name">Expedia.co.uk</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">44.000000953674316</span><span itemprop="bestRating">100</span></div></div><div itemprop="review" itemscope="" itemtype="http://schema.org/Review"><span class="js-review-id">easytobook.com</span><span class="js-review-name" itemprop="name">Easytobook</span><div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><span class="js-review-rating" itemprop="ratingValue">40</span><span itemprop="bestRating">100</span></div></div></div><meta itemprop="latitude" content="51.53012"><meta itemprop="longitude" content="-0.225509"></div><div class="js-description row none"><div class="span5">Location.  Hostel 639 is located in Londons North London neighborhood, close to The General Cemetery of All Souls, Royal Albert Hall, and Portobello Road Market. Nearby points of interest also include Lords Cricket Ground and Kensington Palace. Property Features. Hostel 639s restaurant serves breakfast, lunch, and dinner. A bar/lounge is open for drinks. Wireless Internet access (surcharge) is available in public areas and the hostel has a com</div></div><div class="row hotel_img_opt"><div class="span js-modal js-hotel-images hotel_images" data-tab="gallery" data-images="4" data-analytics="hotel thumbnails"><img src="http://s.top10cdn.com/images/719202/50/50" height="50" width="50" alt="Hostel 639"><img src="http://s.top10cdn.com/images/719201/50/50" height="50" width="50" alt="Hostel 639"><img src="http://s.top10cdn.com/images/719203/50/50" height="50" width="50" alt="Hostel 639"><img src="http://s.top10cdn.com/images/719204/50/50" height="50" width="50" alt="Hostel 639"></div></div></div><div class="span4 prices"><ul class="row js-best-availabilities"><li data-href="http://www.booking.com/hotel/gb/hostel-639.html?aid=354419&amp;checkin=2013-04-07&amp;checkout=2013-04-08&amp;lang=en-gb&amp;selected_currency=GBP&amp;label={{clickId}}" class="price span2 no_wrap js-external-deal" data-id="28290" data-name="Hostel 639" data-provider="booking.com" data-price="10" data-price-total="10.20" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="1 Bed in 8-Bed Mixed Dorm" data-analytics="hero deal"><a href="http://www.booking.com/hotel/gb/hostel-639.html?aid=354419&amp;checkin=2013-04-07&amp;checkout=2013-04-08&amp;lang=en-gb&amp;selected_currency=GBP&amp;label={{clickId}}" target="_blank" class="js-external-deal" data-analytics="hero deal provider logo" data-id="28290" data-name="Hostel 639" data-provider="booking.com" data-price="10" data-price-total="10.20" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="1 Bed in 8-Bed Mixed Dorm"><span class="hotel_agent" data-provider="booking.com">Booking.com</span></a><del class="strikethrough"><small>£</small>68</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>10</span><button class="red" data-analytics="hero deal button">See deal</button></li><li data-href="http://www.laterooms.com/en/p1023/hotel-reservations/180376_hostel-639-london.aspx?d=20130407&amp;n=1&amp;currency=GBP&amp;utm_source=Top10.com&amp;utm_medium=aggregator&amp;utm_campaign=uk&amp;WT.tsrc=Aggregator&amp;WT.mc_id=Top10.com" class="price span2 no_wrap js-external-deal" data-id="28290" data-name="Hostel 639" data-provider="laterooms.com" data-price="12" data-price-total="12.00" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="8 PERSON DORMITORY- MIXED - RATES ARE PER PERSON" data-analytics="secondary deal"><a href="http://www.laterooms.com/en/p1023/hotel-reservations/180376_hostel-639-london.aspx?d=20130407&amp;n=1&amp;currency=GBP&amp;utm_source=Top10.com&amp;utm_medium=aggregator&amp;utm_campaign=uk&amp;WT.tsrc=Aggregator&amp;WT.mc_id=Top10.com" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="28290" data-name="Hostel 639" data-provider="laterooms.com" data-price="12" data-price-total="12.00" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="8 PERSON DORMITORY- MIXED - RATES ARE PER PERSON"><span class="hotel_agent" data-provider="laterooms.com">LateRooms.com</span></a><del class="strikethrough"><small>£</small>68</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>12</span><button class="red" data-analytics="secondary deal button">See deal</button></li><li data-href="http://clk.tradedoubler.com/click?p=21874&amp;a=2183235&amp;g=17344662&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.expedia.co.uk%2Fpubspec%2Fscripts%2Feap.asp%3FGOTO%3DHOTDETAILS%26Indate%3D07%2F04%2F2013%26Outdate%3D08%2F04%2F2013%26NumAdult%3D2%26Numroom%3D1%26HotId%3D2831521" class="price span2 no_wrap js-external-deal" data-id="28290" data-name="Hostel 639" data-provider="expedia.com" data-price="20" data-price-total="20.40" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="Bed in 8-Bed Mixed Dorm" data-analytics="secondary deal"><a href="http://clk.tradedoubler.com/click?p=21874&amp;a=2183235&amp;g=17344662&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.expedia.co.uk%2Fpubspec%2Fscripts%2Feap.asp%3FGOTO%3DHOTDETAILS%26Indate%3D07%2F04%2F2013%26Outdate%3D08%2F04%2F2013%26NumAdult%3D2%26Numroom%3D1%26HotId%3D2831521" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="28290" data-name="Hostel 639" data-provider="expedia.com" data-price="20" data-price-total="20.40" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="Bed in 8-Bed Mixed Dorm"><span class="hotel_agent" data-provider="expedia.com">Expedia.co.uk</span></a><del class="strikethrough"><small>£</small>68</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>20</span><button class="red" data-analytics="secondary deal button">See deal</button></li><li data-href="http://clk.tradedoubler.com/click?p=19300&amp;a=2183235&amp;g=17461688&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.hotels.com%2FPPCHotelDetails%3Fhotelid%3D325381%26numberOfRooms%3D1%26adultsPerRoom%3D2%26arrivalDate%3D07%2F04%2F2013%26departureDate%3D08%2F04%2F2013%26view%3Drate" class="price span2 no_wrap js-external-deal" data-id="28290" data-name="Hostel 639" data-provider="hotels.com" data-price="20" data-price-total="20.40" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="Bed in 8-Bed Mixed Dorm" data-analytics="secondary deal"><a href="http://clk.tradedoubler.com/click?p=19300&amp;a=2183235&amp;g=17461688&amp;epi2={{clickId}}&amp;url=http%3A%2F%2Fwww.hotels.com%2FPPCHotelDetails%3Fhotelid%3D325381%26numberOfRooms%3D1%26adultsPerRoom%3D2%26arrivalDate%3D07%2F04%2F2013%26departureDate%3D08%2F04%2F2013%26view%3Drate" target="_blank" class="js-external-deal" data-analytics="secondary deal provider name" data-id="28290" data-name="Hostel 639" data-provider="hotels.com" data-price="20" data-price-total="20.40" data-currency="£" data-img="http://s.top10cdn.com/images/719205/250/180" data-index="1" data-stars="1" data-room="Bed in 8-Bed Mixed Dorm"><span class="hotel_agent" data-provider="hotels.com">Hotels.com</span></a><del class="strikethrough"><small>£</small>68</del><span class="price_pn has_strikethrough" itemprop="priceRange"> <small>£</small>20</span><button class="red" data-analytics="secondary deal button">See deal</button></li></ul></div>';


      $hotel.find('.js-hotel-content').html(html);
      pending…
      Hash
      var hash = [];
      var i = 0;
      var value = hotel.hotels[0];

      while (i < 4) {
      if (value.bestAvailabilities[i]) {
      if (value.bestAvailabilities[i].available === true) {
      hash.push(value.bestAvailabilities[i].agent.id);
      hash.push(value.bestAvailabilities[i].price);
      }
      }
      i++;
      }


      hash.join('-');
      pending…
      Hash If
      var hash = [];
      var i = 0;
      var value = hotel.hotels[0];

      while (i < 4) {
      if (value.bestAvailabilities[i]) {
      if (value.bestAvailabilities[i].available === true) {
      hash.push(value.bestAvailabilities[i].agent.id);
      hash.push(value.bestAvailabilities[i].price);
      }
      }
      i++;
      }


      hash.join('-');

      if (hash === crapHash) {
      //Do something
      }
      pending…

      You can edit these tests or add even more tests to this page by appending /edit to the URL.

      Compare results of other browsers

      0 comments

      Add a comment