Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
small array vs large array
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Browser:
Chrome 121
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
passRaw
15411390.0 Ops/sec
passLarge
15463965.0 Ops/sec
Script Preparation code:
var companiesInfoSmall = [{ "id": 16, "name": "🌒 Тест1" }] var companiesInfoLarge = [{ "id": 16, "name": "🌒 Тест1", "weight": 100, "trailersInfo": [{ "weight": 700, "name": "Змеиная топь", "namePictures": [{ "url": "https://pic.uma.media/pic/cardimage/60/f1/60f10433b32adec52e252ae7329b2daf.png", "type": "g_hasLogo_600x600" }, { "url": "https://pic.uma.media/pic/cardimage/0f/6d/0f6d52203608e4e3453d7417631a9477.png", "type": "g_hasTitle_logo_1800x1000" } ], "slug": "zmeinaya-top", "tvUmaId": 20786, "videoId": "ecfccb164c18527e102bea5d06ac5d1b", "posters": [{ "url": "https://pic.uma.media/pic/cardimage/91/66/9166f03c7300969b461f34129ae3ab2a.jpg", "type": "g_iconic_poster_600x600" }, { "url": "https://pic.uma.media/pic/cardimage/8d/69/8d6904d6b29e71afc19611c3816dd1a5.jpg", "type": "g_iconic_poster_600x800" }, { "url": "https://pic.uma.media/pic/cardimage/e8/00/e8000c27caf48d8917a9ae16253ceeef.jpg", "type": "g_iconic_poster_800x600" }, { "url": "https://pic.uma.media/pic/cardimage/be/65/be65e43c5e53cd16c476cb4a2632f59f.jpg", "type": "g_iconic_poster_1000x1500" }, { "url": "https://pic.uma.media/pic/cardimage/5a/85/5a8580218b2e8785c1204c451cce6206.jpg", "type": "g_iconic_poster_3840x2160" } ], "ratingPremier": null, "year": "2023", "quality": null, "country": "Колумбия", "genres": [{ "id": 5, "name": "Триллер" }] }, { "weight": 600, "name": "Атака титанов. Фильм второй: Конец света", "namePictures": [{ "url": "https://pic.uma.media/pic/cardimage/c0/e0/c0e0d3267e05ac628bfe87db5d0ed72f.png", "type": "g_hasTitle_logo_1800x1000" }, { "url": "https://pic.uma.media/pic/cardimage/27/d6/27d6ec0a1613add577eb9c7ea3aba4e1.png", "type": "g_hasLogo_600x600" } ], "slug": "ataka-titanov-film-vtoroj-konets-sveta", "tvUmaId": 17096, "videoId": "84e90d3f0af1677efbe0e56a9f020861", "posters": [{ "url": "https://pic.uma.media/pic/cardimage/46/30/4630806b02e08e920bb36c1d1d3a51bb.jpg", "type": "g_iconic_poster_1000x1500" }, { "url": "https://pic.uma.media/pic/cardimage/42/f9/42f99dfb10b1ba7b1430dfc65811ea18.jpg", "type": "g_iconic_poster_3840x2160" }, { "url": "https://pic.uma.media/pic/cardimage/83/00/8300d2c9975cd509d6586950965a6dc9.jpg", "type": "g_iconic_poster_800x600" }, { "url": "https://pic.uma.media/pic/cardimage/5a/bd/5abdc354593c6a8e9f74725fb37c611c.jpg", "type": "g_iconic_poster_600x800" }, { "url": "https://pic.uma.media/pic/cardimage/09/c3/09c3a5203d72c1a221d25f038c22858a.jpg", "type": "g_iconic_poster_600x600" } ], "ratingPremier": null, "year": "2015", "quality": null, "country": "Япония", "genres": [{ "id": 1, "name": "Фантастика" }, { "id": 18, "name": "Боевик" }, { "id": 4, "name": "Драма" } ] }, { "weight": 300, "name": "Как Витька Чеснок вёз Лёху Штыря в дом инвалидов", "namePictures": [ ], "slug": "kak-vitka-chesnok-vez-lehu-shtyrja-v-dom-invalidov", "tvUmaId": 10216, "videoId": "402ae76470de741aea2b24d8e52095fc", "posters": [{ "url": "https://pic.uma.media/pic/cardimage/8b/ee/8bee0d3d443ddabacf27915f2124fa3c.jpg", "type": "g_iconic_poster_3840x2160" }, { "url": "https://pic.uma.media/pic/cardimage/b5/68/b568437c769a745f4a9a447218e26307.jpg", "type": "g_iconic_poster_1000x1500" } ], "ratingPremier": 7.3, "year": "2017", "quality": null, "country": "Россия", "genres": [{ "id": 4, "name": "Драма" }, { "id": 22, "name": "Криминал" } ] }, { "weight": 200, "name": "Бум 2", "namePictures": [{ "url": "https://pic.uma.media/pic/cardimage/0e/db/0edbb0cbe866fdb61b5f355c0c1bce38.png", "type": "g_hasLogo_600x600" }, { "url": "https://pic.uma.media/pic/cardimage/db/01/db0165c2037bb264deeed7fa192bc64b.png", "type": "g_hasTitle_logo_1800x1000" } ], "slug": "bum-2", "tvUmaId": 20911, "videoId": "1e7f7a0567d16b2f67436df479877164", "posters": [{ "url": "https://pic.uma.media/pic/cardimage/62/c8/62c82b8a245912a6507a33be15a79bf9.jpg", "type": "g_iconic_poster_600x600" }, { "url": "https://pic.uma.media/pic/cardimage/05/21/05216a8d39b165276e737e7a583cd29e.jpg", "type": "g_iconic_poster_600x800" }, { "url": "https://pic.uma.media/pic/cardimage/05/fe/05fe0bb80fac72e2c84c7f94597f742f.jpg", "type": "g_iconic_poster_800x600" }, { "url": "https://pic.uma.media/pic/cardimage/9e/fa/9efa79a5bb07219145e4d07b769a9ae6.jpg", "type": "g_iconic_poster_1000x1500" }, { "url": "https://pic.uma.media/pic/cardimage/85/41/85413f64f742aacaa6ec019e1b020d13.jpg", "type": "g_iconic_poster_3840x2160" } ], "ratingPremier": null, "year": "1982", "quality": null, "country": "Франция", "genres": [{ "id": 7, "name": "Мелодрама" }, { "id": 3, "name": "Комедия" }, { "id": 4, "name": "Драма" } ] }, { "weight": 100, "name": "Наследие", "namePictures": [{ "url": "https://pic.uma.media/pic/cardimage/5a/42/5a42c28afb3810811ad9f79620eabe0a.png", "type": "g_hasTitle_logo_1800x1000" }, { "url": "https://pic.uma.media/pic/cardimage/22/90/22904e0ec1f53fc16c607ad7ead494a7.png", "type": "g_hasLogo_600x600" } ], "slug": "nasledie", "tvUmaId": 18933, "videoId": "54b913b11b085dcf935affc79372b5e7", "posters": [{ "url": "https://pic.uma.media/pic/cardimage/7b/e0/7be0eded574dfb8d4029dd8b1b196a0d.jpg", "type": "g_iconic_poster_1000x1500" }, { "url": "https://pic.uma.media/pic/cardimage/6d/5d/6d5d7993962d8ca9a492cd06be8acddb.jpg", "type": "g_iconic_poster_600x800" }, { "url": "https://pic.uma.media/pic/cardimage/70/95/7095d39fd5bd72a26f2e0f877488403e.jpg", "type": "g_iconic_poster_600x600" }, { "url": "https://pic.uma.media/pic/cardimage/6b/1f/6b1f0f483494b8c433c88a9f9da43619.jpg", "type": "g_iconic_poster_3840x2160" }, { "url": "https://pic.uma.media/pic/cardimage/56/1b/561b67d7c3960e53c121fd62d434d367.jpg", "type": "g_iconic_poster_800x600" } ], "ratingPremier": 7.7, "year": "2022", "quality": null, "country": "Россия", "genres": [{ "id": 1, "name": "Фантастика" }, { "id": 4, "name": "Драма" } ] } ] }] function passSmall(arrSmall) { return `${arrSmall.id * 2}_` + arrSmall.name } function passLarge(arrLarge) { return `${arrLarge.id * 2}_` + arrLarge.name }
Tests:
passRaw
passSmall(companiesInfoSmall)
passLarge
passLarge(companiesInfoLarge)