performance

Benchmark created on


Setup


const randomItems = [
    {
        attribute: [
            {
                value: [
                    {
                        value: "42",
                        "non-ml": "42",
                    },
                ],
                name: "newness",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "LE LABO",
                        "non-ml": "le2dlabo",
                    },
                ],
                name: "brand_name",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "R04207488",
                        "non-ml": "R04207488",
                    },
                ],
                name: "ce_partnumber",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "Discovery Set gift set",
                        "non-ml": "Discovery Set gift set",
                    },
                ],
                name: "ce_name",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "247.00",
                        "non-ml": "247.0",
                    },
                ],
                name: "ce_stock",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "29.10422",
                        "non-ml": "29.10422",
                    },
                ],
                name: "bestseller",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "r04207488",
                        "non-ml": "r04207488",
                    },
                ],
                name: "secondid",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_shortdesc",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "Eau de parfum",
                        "non-ml": "selfridges_c548256_c548383_c548384_c836992",
                    },
                ],
                name: "categories",
                basetype: "cat",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "size",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "colour",
                basetype: "set",
                isnull: true,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "50.00000000",
                        "non-ml": "50.0",
                    },
                ],
                name: "ce_price",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "variant_colour",
                basetype: "asset",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "variant_size",
                basetype: "asset",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04207488_M?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04207488_M?$GALLERY_3ACR$",
                    },
                ],
                name: "_imageurl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "newin",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "on_sale",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "variant_on_sale",
                basetype: "asset",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "further_reductions",
                basetype: "list",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04207488_M?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04207488_M?$GALLERY_3ACR$",
                    },
                ],
                name: "_thumburl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04207488{1}_ALT01?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04207488{1}_ALT01?$GALLERY_3ACR$",
                    },
                ],
                name: "altimageurl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "_familycolour",
                basetype: "list",
                isnull: true,
                selected: false,
                "best-matched": false,
            },
            {
                value: [],
                name: "colour",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "ProductBean",
                        "non-ml": "ProductBean",
                    },
                ],
                name: "reltype",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "EXCLUSIVE TO SELFRIDGES",
                        "non-ml": "exclusive2dto2dselfridges",
                    },
                ],
                name: "displayflag",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "50.00000000",
                        "non-ml": "50.0",
                    },
                ],
                name: "ce_price",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "247.00",
                        "non-ml": "247.0",
                    },
                ],
                name: "ce_stock",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "1",
                        "non-ml": "1",
                    },
                ],
                name: "in_stock_flag",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "_familycolour",
                basetype: "list",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0",
                        "non-ml": "0",
                    },
                ],
                name: "on_sale_flag",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "on_sale",
                basetype: "text",
                isnull: true,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0.00",
                        "non-ml": "0.0",
                    },
                ],
                name: "on_sale_ratio",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "sliced_partnumber",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "247",
                        "non-ml": "247",
                    },
                ],
                name: "stock_minimum",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "Y",
                        "non-ml": "Y",
                    },
                ],
                name: "productinstock",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "91.00",
                        "non-ml": "91.0",
                    },
                ],
                name: "ce_price_aud",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "74.00",
                        "non-ml": "74.0",
                    },
                ],
                name: "ce_price_cad",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "580.00",
                        "non-ml": "580.0",
                    },
                ],
                name: "ce_price_cny",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "60.00",
                        "non-ml": "60.0",
                    },
                ],
                name: "ce_price_eur",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "50.00",
                        "non-ml": "50.0",
                    },
                ],
                name: "ce_price_gbp",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "41.67",
                        "non-ml": "41.67",
                    },
                ],
                name: "ce_price_gbx",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "435.00",
                        "non-ml": "435.0",
                    },
                ],
                name: "ce_price_hkd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "79.00",
                        "non-ml": "79.0",
                    },
                ],
                name: "ce_price_sgd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "55.00",
                        "non-ml": "55.0",
                    },
                ],
                name: "ce_price_usd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "7600.00",
                        "non-ml": "7600.0",
                    },
                ],
                name: "ce_price_jpy",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "73000.00",
                        "non-ml": "73000.0",
                    },
                ],
                name: "ce_price_krw",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "1710.00",
                        "non-ml": "1710.0",
                    },
                ],
                name: "ce_price_twd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "55.00",
                        "non-ml": "55.0",
                    },
                ],
                name: "ce_price_usx",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [],
                name: "skin_concern",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "travel",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "hair_type",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "hair_concern",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "free_from",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "key_ingredients",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "project_earth_label",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "751",
                        "non-ml": "751",
                    },
                ],
                name: "ga_item_quantity_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "203",
                        "non-ml": "203",
                    },
                ],
                name: "ga_item_quantity_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "10115.00",
                        "non-ml": "10115.0",
                    },
                ],
                name: "ga_item_revenue_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "37515.00",
                        "non-ml": "37515.0",
                    },
                ],
                name: "ga_item_revenue_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "shopby",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "collection",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_pzn_catentry_id",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_pzn_prices",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzncharge",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzncolours",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzndisplaytext",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznfonts",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznleadtime",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznmandatory",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznmaxchars",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznminchars",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznregex",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "1.00000",
                        "non-ml": "1.0",
                    },
                ],
                name: "stock_ratio_fhr",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "N",
                        "non-ml": "concessionproduct7c78",
                    },
                ],
                name: "concessionproduct",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "zero_seller",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice1_gbp",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice2_gbp",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "50.00",
                        "non-ml": "50.0",
                    },
                ],
                name: "ce_price1_gbp",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [],
                name: "selfdp",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "selfcce",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "further_markdown",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice1",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice2",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "84",
                        "non-ml": "84",
                    },
                ],
                name: "ga_adds_to_cart_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "1348",
                        "non-ml": "1348",
                    },
                ],
                name: "ga_adds_to_cart_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "185",
                        "non-ml": "185",
                    },
                ],
                name: "ga_adds_to_cart_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "456",
                        "non-ml": "456",
                    },
                ],
                name: "ga_adds_to_cart_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0.01424",
                        "non-ml": "0.01424",
                    },
                ],
                name: "ga_conversion_rate_all_1_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0.04887",
                        "non-ml": "0.04887",
                    },
                ],
                name: "ga_conversion_rate_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0.01883",
                        "non-ml": "0.01883",
                    },
                ],
                name: "ga_conversion_rate_all_3_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0.03583",
                        "non-ml": "0.03583",
                    },
                ],
                name: "ga_conversion_rate_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "1334",
                        "non-ml": "1334",
                    },
                ],
                name: "ga_pdp_views_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "15366",
                        "non-ml": "15366",
                    },
                ],
                name: "ga_pdp_views_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "3027",
                        "non-ml": "3027",
                    },
                ],
                name: "ga_pdp_views_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "5666",
                        "non-ml": "5666",
                    },
                ],
                name: "ga_pdp_views_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0.07692",
                        "non-ml": "0.07692308",
                    },
                ],
                name: "rate_of_demand_all_1_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "3.04049",
                        "non-ml": "3.0404859",
                    },
                ],
                name: "rate_of_demand_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0.23077",
                        "non-ml": "0.23076923",
                    },
                ],
                name: "rate_of_demand_all_3_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0.82186",
                        "non-ml": "0.82186235",
                    },
                ],
                name: "rate_of_demand_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0",
                        "non-ml": "0",
                    },
                ],
                name: "discount_percentage",
                basetype: "int",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "0",
                        "non-ml": "0",
                    },
                ],
                name: "discount_percentage",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "19",
                        "non-ml": "19",
                    },
                ],
                name: "ga_item_quantity_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "57",
                        "non-ml": "57",
                    },
                ],
                name: "ga_item_quantity_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "seasonal_event",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "brandcategory",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "N",
                        "non-ml": "sliced7c78",
                    },
                ],
                name: "sliced",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
        ],
        link: [
            {
                name: "Detail",
                "url-params":
                    "fh_view_size=2000&fh_start_index=0&%24s=dress&fh_location=%2f%2fselfridges%2fen_GB&fh_sort=-%24worldwidecatchall&fh_refview=lister&fh_secondid=r04207488&fh_lister_pos=11&fh_modification=9c709b80-cb07-4b05-a565-fda081116193%2cb9053083-c28e-4271-97f2-0e8eb8409638%2cfd96fc5e-2962-4365-b017-5af942e4bf08%2cb6a6928c-3f9a-4a6e-b591-3cee93ddb431%2cec65dbbc-36cc-4436-9a7d-a26cdacbaf68%2c7ab6d3d0-3171-436c-97dd-cf71f4563ff1",
                type: "detail",
            },
        ],
        id: "r04207488",
    },
    {
        attribute: [
            {
                value: [{ value: "67", "non-ml": "67" }],
                name: "newness",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "JELLYCAT", "non-ml": "jellycat" }],
                name: "brand_name",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "R04185869", "non-ml": "R04185869" }],
                name: "ce_partnumber",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "Bashful Bunny soft bag charm",
                        "non-ml": "Bashful Bunny soft bag charm",
                    },
                ],
                name: "ce_name",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "1771.00", "non-ml": "1771.0" }],
                name: "ce_stock",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "21.169138", "non-ml": "21.169138" }],
                name: "bestseller",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "sr04185869_multi", "non-ml": "sr04185869_multi" }],
                name: "secondid",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_shortdesc",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "Soft Toys",
                        "non-ml": "selfridges_c548259_c549308_c549355_c689945",
                    },
                ],
                name: "categories",
                basetype: "cat",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "size",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "MULTI", "non-ml": "multi" }],
                name: "colour",
                basetype: "set",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "15.00000000", "non-ml": "15.0" }],
                name: "ce_price",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "MULTI" }],
                name: "variant_colour",
                basetype: "asset",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "variant_size",
                basetype: "asset",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04185869_MULTI_M?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04185869_MULTI_M?$GALLERY_3ACR$",
                    },
                ],
                name: "_imageurl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "newin",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "on_sale",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "variant_on_sale",
                basetype: "asset",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "further_reductions",
                basetype: "list",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04185869_MULTI_M?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04185869_MULTI_M?$GALLERY_3ACR$",
                    },
                ],
                name: "_thumburl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04185869MULTI_ALT01?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04185869MULTI_ALT01?$GALLERY_3ACR$",
                    },
                ],
                name: "altimageurl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "Multi-coloured", "non-ml": "multi2dcoloured" }],
                name: "_familycolour",
                basetype: "list",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "MULTI", "non-ml": "multi" }],
                name: "colour",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "ProductBean", "non-ml": "ProductBean" }],
                name: "reltype",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "displayflag",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "15.00000000", "non-ml": "15.0" }],
                name: "ce_price",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "1771.00", "non-ml": "1771.0" }],
                name: "ce_stock",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "1", "non-ml": "1" }],
                name: "in_stock_flag",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "Multi-coloured", "non-ml": "multi2dcoloured" }],
                name: "_familycolour",
                basetype: "list",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0", "non-ml": "0" }],
                name: "on_sale_flag",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "on_sale",
                basetype: "text",
                isnull: true,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "0.00", "non-ml": "0.0" }],
                name: "on_sale_ratio",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "sr04185869_multi", "non-ml": "sr04185869_multi" }],
                name: "sliced_partnumber",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "1771", "non-ml": "1771" }],
                name: "stock_minimum",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "Y", "non-ml": "Y" }],
                name: "productinstock",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "27.00", "non-ml": "27.0" }],
                name: "ce_price_aud",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "22.00", "non-ml": "22.0" }],
                name: "ce_price_cad",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "115.00", "non-ml": "115.0" }],
                name: "ce_price_cny",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "18.00", "non-ml": "18.0" }],
                name: "ce_price_eur",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "15.00", "non-ml": "15.0" }],
                name: "ce_price_gbp",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "12.50", "non-ml": "12.5" }],
                name: "ce_price_gbx",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "130.00", "non-ml": "130.0" }],
                name: "ce_price_hkd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "24.00", "non-ml": "24.0" }],
                name: "ce_price_sgd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "16.50", "non-ml": "16.5" }],
                name: "ce_price_usd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "2300.00", "non-ml": "2300.0" }],
                name: "ce_price_jpy",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "22000.00", "non-ml": "22000.0" }],
                name: "ce_price_krw",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "520.00", "non-ml": "520.0" }],
                name: "ce_price_twd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "16.50", "non-ml": "16.5" }],
                name: "ce_price_usx",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [],
                name: "skin_concern",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "travel",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "hair_type",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "hair_concern",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "free_from",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "key_ingredients",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "project_earth_label",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "2364", "non-ml": "2364" }],
                name: "ga_item_quantity_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "738", "non-ml": "738" }],
                name: "ga_item_quantity_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "11070.00", "non-ml": "11070.0" }],
                name: "ga_item_revenue_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "35328.75", "non-ml": "35328.75" }],
                name: "ga_item_revenue_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "shopby",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "collection",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_pzn_catentry_id",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_pzn_prices",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzncharge",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzncolours",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzndisplaytext",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznfonts",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznleadtime",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznmandatory",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznmaxchars",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznminchars",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznregex",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "1.00000", "non-ml": "1.0" }],
                name: "stock_ratio_fhr",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "N", "non-ml": "concessionproduct7c78" }],
                name: "concessionproduct",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "zero_seller",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice1_gbp",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice2_gbp",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "15.00", "non-ml": "15.0" }],
                name: "ce_price1_gbp",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [],
                name: "selfdp",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "selfcce",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "further_markdown",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice1",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice2",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "104", "non-ml": "104" }],
                name: "ga_adds_to_cart_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "2416", "non-ml": "2416" }],
                name: "ga_adds_to_cart_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "311", "non-ml": "311" }],
                name: "ga_adds_to_cart_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "762", "non-ml": "762" }],
                name: "ga_adds_to_cart_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.17925", "non-ml": "0.17925" }],
                name: "ga_conversion_rate_all_1_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.14360", "non-ml": "0.1436" }],
                name: "ga_conversion_rate_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.12541", "non-ml": "0.12541" }],
                name: "ga_conversion_rate_all_3_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.12521", "non-ml": "0.12521" }],
                name: "ga_conversion_rate_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "848", "non-ml": "848" }],
                name: "ga_pdp_views_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "16462", "non-ml": "16462" }],
                name: "ga_pdp_views_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "2448", "non-ml": "2448" }],
                name: "ga_pdp_views_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "5894", "non-ml": "5894" }],
                name: "ga_pdp_views_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.08583", "non-ml": "0.08582722" }],
                name: "rate_of_demand_all_1_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "1.33484", "non-ml": "1.3348391" }],
                name: "rate_of_demand_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.17335", "non-ml": "0.1733484" }],
                name: "rate_of_demand_all_3_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.41671", "non-ml": "0.4167137" }],
                name: "rate_of_demand_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0", "non-ml": "0" }],
                name: "discount_percentage",
                basetype: "int",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "0", "non-ml": "0" }],
                name: "discount_percentage",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "152", "non-ml": "152" }],
                name: "ga_item_quantity_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "307", "non-ml": "307" }],
                name: "ga_item_quantity_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "seasonal_event",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "brandcategory",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "Y", "non-ml": "sliced7c89" }],
                name: "sliced",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
        ],
        link: [
            {
                name: "Detail",
                "url-params":
                    "fh_view_size=2000&fh_start_index=0&%24s=dress&fh_location=%2f%2fselfridges%2fen_GB&fh_sort=-%24worldwidecatchall&fh_refview=lister&fh_secondid=sr04185869_multi&fh_lister_pos=2&fh_modification=9c709b80-cb07-4b05-a565-fda081116193%2cb9053083-c28e-4271-97f2-0e8eb8409638%2cfd96fc5e-2962-4365-b017-5af942e4bf08%2cb6a6928c-3f9a-4a6e-b591-3cee93ddb431%2cec65dbbc-36cc-4436-9a7d-a26cdacbaf68%2c7ab6d3d0-3171-436c-97dd-cf71f4563ff1",
                type: "detail",
            },
        ],
        id: "sr04185869_multi",
    },
    {
        attribute: [
            {
                value: [{ value: "40", "non-ml": "40" }],
                name: "newness",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "SUQQU", "non-ml": "suqqu" }],
                name: "brand_name",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "R04229572", "non-ml": "R04229572" }],
                name: "ce_partnumber",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "Signature Color Eyes eyeshadow palette 6.2g",
                        "non-ml": "Signature Color Eyes eyeshadow palette 6.2g",
                    },
                ],
                name: "ce_name",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "437.00", "non-ml": "437.0" }],
                name: "ce_stock",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "21.716171", "non-ml": "21.716171" }],
                name: "bestseller",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "sr04229572_130tsuyazoroi",
                        "non-ml": "sr04229572_130tsuyazoroi",
                    },
                ],
                name: "secondid",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_shortdesc",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "Quad",
                        "non-ml": "selfridges_c548256_c548262_c548309_c548331_c573265",
                    },
                    {
                        value: "For her",
                        "non-ml": "selfridges_c548258_c603284_c961486_c961488",
                    },
                ],
                name: "categories",
                basetype: "cat",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "size",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "130 Tsuyazoroi", "non-ml": "1302dtsuyazoroi" }],
                name: "colour",
                basetype: "set",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "50.00000000", "non-ml": "50.0" }],
                name: "ce_price",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "130 Tsuyazoroi" }],
                name: "variant_colour",
                basetype: "asset",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "variant_size",
                basetype: "asset",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04229572_130TSUYAZOROI_M?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04229572_130TSUYAZOROI_M?$GALLERY_3ACR$",
                    },
                ],
                name: "_imageurl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "NEW-IN", "non-ml": "NEW-IN" }],
                name: "newin",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "on_sale",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "variant_on_sale",
                basetype: "asset",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "further_reductions",
                basetype: "list",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04229572_130TSUYAZOROI_M?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04229572_130TSUYAZOROI_M?$GALLERY_3ACR$",
                    },
                ],
                name: "_thumburl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value:
                            "http://images.selfridges.com/is/image/selfridges/R04229572130TSUYAZOROI_ALT01?$GALLERY_3ACR$",
                        "non-ml":
                            "http://images.selfridges.com/is/image/selfridges/R04229572130TSUYAZOROI_ALT01?$GALLERY_3ACR$",
                    },
                ],
                name: "altimageurl",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "Multi-coloured", "non-ml": "multi2dcoloured" }],
                name: "_familycolour",
                basetype: "list",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "130 Tsuyazoroi", "non-ml": "1302dtsuyazoroi" }],
                name: "colour",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "ProductBean", "non-ml": "ProductBean" }],
                name: "reltype",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "displayflag",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "50.00000000", "non-ml": "50.0" }],
                name: "ce_price",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "437.00", "non-ml": "437.0" }],
                name: "ce_stock",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "1", "non-ml": "1" }],
                name: "in_stock_flag",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "Multi-coloured", "non-ml": "multi2dcoloured" }],
                name: "_familycolour",
                basetype: "list",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0", "non-ml": "0" }],
                name: "on_sale_flag",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "on_sale",
                basetype: "text",
                isnull: true,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "0.00", "non-ml": "0.0" }],
                name: "on_sale_ratio",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [
                    {
                        value: "sr04229572_130tsuyazoroi",
                        "non-ml": "sr04229572_130tsuyazoroi",
                    },
                ],
                name: "sliced_partnumber",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "437", "non-ml": "437" }],
                name: "stock_minimum",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "Y", "non-ml": "Y" }],
                name: "productinstock",
                basetype: "text",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "91.00", "non-ml": "91.0" }],
                name: "ce_price_aud",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "74.00", "non-ml": "74.0" }],
                name: "ce_price_cad",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "465.00", "non-ml": "465.0" }],
                name: "ce_price_cny",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "55.00", "non-ml": "55.0" }],
                name: "ce_price_eur",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "50.00", "non-ml": "50.0" }],
                name: "ce_price_gbp",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "41.67", "non-ml": "41.67" }],
                name: "ce_price_gbx",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "435.00", "non-ml": "435.0" }],
                name: "ce_price_hkd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "79.00", "non-ml": "79.0" }],
                name: "ce_price_sgd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "55.00", "non-ml": "55.0" }],
                name: "ce_price_usd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "7600.00", "non-ml": "7600.0" }],
                name: "ce_price_jpy",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "73000.00", "non-ml": "73000.0" }],
                name: "ce_price_krw",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "1710.00", "non-ml": "1710.0" }],
                name: "ce_price_twd",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "55.00", "non-ml": "55.0" }],
                name: "ce_price_usx",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [],
                name: "skin_concern",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "travel",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "hair_type",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "hair_concern",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "free_from",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "key_ingredients",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "project_earth_label",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "1272", "non-ml": "1272" }],
                name: "ga_item_quantity_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "343", "non-ml": "343" }],
                name: "ga_item_quantity_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "17150.00", "non-ml": "17150.0" }],
                name: "ga_item_revenue_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "63600.00", "non-ml": "63600.0" }],
                name: "ga_item_revenue_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "shopby",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "collection",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_pzn_catentry_id",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "ce_pzn_prices",
                basetype: "text",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzncharge",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzncolours",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pzndisplaytext",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznfonts",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznleadtime",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznmandatory",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznmaxchars",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznminchars",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "pznregex",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "1.00000", "non-ml": "1.0" }],
                name: "stock_ratio_fhr",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "N", "non-ml": "concessionproduct7c78" }],
                name: "concessionproduct",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "zero_seller",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice1_gbp",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice2_gbp",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "50.00", "non-ml": "50.0" }],
                name: "ce_price1_gbp",
                basetype: "float",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [],
                name: "selfdp",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "selfcce",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "further_markdown",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice1",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "previousprice2",
                basetype: "float",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "64", "non-ml": "64" }],
                name: "ga_adds_to_cart_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "1408", "non-ml": "1408" }],
                name: "ga_adds_to_cart_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "263", "non-ml": "263" }],
                name: "ga_adds_to_cart_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "641", "non-ml": "641" }],
                name: "ga_adds_to_cart_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.00780", "non-ml": "0.0078" }],
                name: "ga_conversion_rate_all_1_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.05017", "non-ml": "0.05017" }],
                name: "ga_conversion_rate_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.07870", "non-ml": "0.0787" }],
                name: "ga_conversion_rate_all_3_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.04425", "non-ml": "0.04425" }],
                name: "ga_conversion_rate_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "641", "non-ml": "641" }],
                name: "ga_pdp_views_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "25356", "non-ml": "25356" }],
                name: "ga_pdp_views_all_30_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "2338", "non-ml": "2338" }],
                name: "ga_pdp_views_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "7752", "non-ml": "7752" }],
                name: "ga_pdp_views_all_7_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.01144", "non-ml": "0.011441648" }],
                name: "rate_of_demand_all_1_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "2.91076", "non-ml": "2.9107552" }],
                name: "rate_of_demand_all_30_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.42105", "non-ml": "0.42105263" }],
                name: "rate_of_demand_all_3_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0.78490", "non-ml": "0.784897" }],
                name: "rate_of_demand_all_7_days",
                basetype: "float",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "0", "non-ml": "0" }],
                name: "discount_percentage",
                basetype: "int",
                isnull: false,
                selected: false,
                "best-matched": false,
            },
            {
                value: [{ value: "0", "non-ml": "0" }],
                name: "discount_percentage",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "5", "non-ml": "5" }],
                name: "ga_item_quantity_all_1_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "184", "non-ml": "184" }],
                name: "ga_item_quantity_all_3_days",
                basetype: "int",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "seasonal_event",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [],
                name: "brandcategory",
                basetype: "set",
                isnull: true,
                selected: true,
                "best-matched": false,
            },
            {
                value: [{ value: "Y", "non-ml": "sliced7c89" }],
                name: "sliced",
                basetype: "set",
                isnull: false,
                selected: true,
                "best-matched": false,
            },
        ],
        link: [
            {
                name: "Detail",
                "url-params":
                    "fh_view_size=2000&fh_start_index=0&%24s=dress&fh_location=%2f%2fselfridges%2fen_GB&fh_sort=-%24worldwidecatchall&fh_refview=lister&fh_secondid=sr04229572_130tsuyazoroi&fh_lister_pos=3&fh_modification=9c709b80-cb07-4b05-a565-fda081116193%2cb9053083-c28e-4271-97f2-0e8eb8409638%2cfd96fc5e-2962-4365-b017-5af942e4bf08%2cb6a6928c-3f9a-4a6e-b591-3cee93ddb431%2cec65dbbc-36cc-4436-9a7d-a26cdacbaf68%2c7ab6d3d0-3171-436c-97dd-cf71f4563ff1",
                type: "detail",
            },
        ],
        id: "sr04229572_130tsuyazoroi",
    },
];

Test runner

Ready to run.

Testing in
TestOps/sec
234

const FH_ATTRIBUTES_CONVERTER = () => ({
    ce_partnumber: "productId",
    _imageurl: "imageName",
});

const getProductAttribute = (attrName) =>
    FH_ATTRIBUTES_CONVERTER()[attrName] || FH_ATTRIBUTES_CONVERTER()[attrName];

const getDataFromFredHopper = (item) => {
    return item.attribute?.reduce(
        (productDetailsAcc, attrData) => {
            const value = attrData.value?.[0]?.value;
            const productAttribute = getProductAttribute(attrData.name);
            if (!productAttribute) return productDetailsAcc;
            return { ...productDetailsAcc, [productAttribute]: value };
        },
        {}
    );
};

const t0 = performance.now();
const products = randomItems.map((item) =>
    getDataFromFredHopper(item)
);
console.log(products.length);
const t1 = performance.now();
ready
235

const AttributeName = {
    PART_NUMBER: "ce_partnumber",
    BRAND: "brand_name",
    IMAGE_URL: "_imageurl",
}

const KEY_MAP = {
    [AttributeName.PART_NUMBER]: "productId",
    [AttributeName.IMAGE_URL]: "imageName",
};

const createProduct = (item) => {
    const attrMap = new Map();

    item.attribute?.forEach((attr) => {
        const { name } = attr;
        const value = attr.value?.[0]?.value || null;

        if (name) {
            attrMap.set(name, value);
        }
    });

    const product = Object.keys(KEY_MAP).reduce((acc, key) => {
        acc[KEY_MAP[key]] = attrMap.get(key);
        return acc;
    }, Object.create(null));

    return product;
};

const t0 = performance.now();

const products = randomItems.map((item) => createProduct(item));

console.log(products.length);
const t1 = performance.now();
console.log(`Call to 235-branch function took ${t1 - t0} milliseconds.`);
ready

Revisions

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