Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Ramda equals vs JSON.stringify bigger data sets
(version: 0)
Comparing performance of:
Ramda vs JSON.stringify
Created:
4 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdnjs.cloudflare.com/ajax/libs/ramda/0.25.0/ramda.min.js"></script>
Script Preparation code:
var data1 = { getFlowData: { subjects: [ { type: 'String', typeId: null, label: 'String', instanceFields: [], fields: [], dir: null, __typename: 'FlowData___Subject', }, { type: 'Number', typeId: null, label: 'Number', instanceFields: [], fields: [], dir: null, __typename: 'FlowData___Subject', }, { type: 'Boolean', typeId: null, label: 'Boolean', instanceFields: [], fields: [], dir: null, __typename: 'FlowData___Subject', }, { type: 'Address', typeId: null, label: 'Address', instanceFields: [ { key: 'street', label: 'Straat', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'houseNumber', label: 'Huisnummer', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'addition', label: 'Addition', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'postcode', label: 'Postcode', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'city', label: 'City', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, ], fields: [], dir: null, __typename: 'FlowData___Subject', }, { type: 'Contact', typeId: null, label: 'Contact', instanceFields: [ { key: 'name', label: 'Name', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'address', label: 'Woonaddress', type: { type: 'Address', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, subInstanceFieldsTrigger: true, __typename: 'FlowData___InstanceField', }, { key: 'neighbour', label: 'Neighbour', type: { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'age', label: 'Age', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'email', label: 'Email', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: false, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'phone', label: 'Telefoonnummer', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'city', label: 'Woonplaats', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'blockMarketing', label: 'Uitgeschreven voor nieuwsbrieven', type: { type: 'Boolean', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, ], fields: [ { key: 'new', label: 'Nieuw', creates: { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId', }, representation: [ { rep: 'Nieuw Contact', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, ], args: [], only: null, never: null, triggers: true, condition: false, __typename: 'FlowData___SubjectField', }, ], dir: [ { label: 'Contact', weight: 10, key: 'contact', __typename: 'FlowData___Directory', }, ], __typename: 'FlowData___Subject', }, { type: 'Ramonzie', typeId: 'small', label: 'Small Ramonzie', instanceFields: [ { key: 'name', label: 'Name', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'strength', label: 'Strength', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: false, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'junklength', label: 'Lengte van de junk', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, ], fields: [ { key: 'new', label: 'Nieuw', creates: { type: 'Ramonzie', typeId: 'small', __typename: 'Flow___SubjectId', }, representation: [ { rep: 'Nieuw Small Ramonzie appeared', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, ], args: [], only: null, never: null, triggers: true, condition: false, __typename: 'FlowData___SubjectField', }, ], dir: [ { label: 'App', weight: 10, key: 'app', __typename: 'FlowData___Directory', }, { label: 'Pokemon', weight: 10, key: 'pokemon', __typename: 'FlowData___Directory', }, { label: 'Small Ramonzie ', weight: 10, key: 'ramonzie__small', __typename: 'FlowData___Directory', }, ], __typename: 'FlowData___Subject', }, { type: 'Ramonzie', typeId: 'large', label: 'Large Ramonzie', instanceFields: [ { key: 'name', label: 'Name', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'strength', label: 'Strength', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: false, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'junklength', label: 'Lengte van de junk', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'wingspan', label: 'Lengte van de wing', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, ], fields: [ { key: 'new', label: 'Nieuw', creates: { type: 'Ramonzie', typeId: 'small', __typename: 'Flow___SubjectId', }, representation: [ { rep: 'Nieuw Large Ramonzie appeared', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, ], args: [], only: null, never: null, triggers: true, condition: false, __typename: 'FlowData___SubjectField', }, { key: 'new1', label: 'Nieuw with junk', creates: { type: 'Ramonzie', typeId: 'small', __typename: 'Flow___SubjectId', }, representation: [ { rep: 'Nieuw Large Ramonzie appeared', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: 'with {{1}} lengte', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], only: null, never: null, triggers: true, condition: false, __typename: 'FlowData___SubjectField', }, ], dir: [ { label: 'App', weight: 10, key: 'app', __typename: 'FlowData___Directory', }, { label: 'Pokemon', weight: 10, key: 'pokemon', __typename: 'FlowData___Directory', }, { label: 'Large Ramonzie', weight: 10, key: 'ramonzie__large', __typename: 'FlowData___Directory', }, ], __typename: 'FlowData___Subject', }, ], instance: [ { key: ['global', 'contact'], instanceType: { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId', }, dir: [ { label: 'Contact', weight: 10, key: 'contact', __typename: 'FlowData___Directory', }, ], __typename: 'FlowData___FlowInstance', }, ], condition: [ { type: 'String_EQ', label: 'is gelijk aan', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'String_Not_Eq', label: 'is niet gelijk aan', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is niet gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'String_Contains', label: 'bevat', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} bevat', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'String_Not_Contains', label: 'bevat niet', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} bevat niet', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'String_Length', label: 'has length', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} has length', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Number_EQ', label: 'is gelijk aan', input: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Number_Not_Eq', label: 'is niet gelijk aan', input: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is niet gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Number_Between', label: 'is between', input: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is between', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, { rep: 'and', variable: null, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{2}}', variable: 2, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Number_Not_Between', label: 'is niet between', input: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is not between', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, { rep: 'and', variable: null, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{2}}', variable: 2, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Boolean_EQ', label: 'is gelijk aan', input: [ { type: 'Boolean', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Boolean', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Contact_EQ', label: 'is gelijk aan', input: [ { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, ], primitiveInput: [ { type: 'String', inputAppearance: 'Text', inputField: 'value_string', __typename: 'Flow___PrimitiveInput', }, { type: 'Number', inputAppearance: 'Integer', inputField: 'value_integer', __typename: 'Flow___PrimitiveInput', }, ], primitiveListInput: [ { type: 'Boolean', inputAppearance: 'List', inputField: 'value_boolean', options: [ { key: 'true', label: 'Jaa', __typename: 'Flow___PrimitiveListInputOption', }, { key: 'false', label: 'Nee', __typename: 'Flow___PrimitiveListInputOption', }, ], __typename: 'Flow___PrimitiveListInput', }, ], __typename: 'Flow___FlowData', }, }; var data2 = { getFlowData: { subjects: [ { type: 'String', typeId: null, label: 'String', instanceFields: [], fields: [], dir: null, __typename: 'FlowData___Subject', }, { type: 'Number', typeId: null, label: 'Number', instanceFields: [], fields: [], dir: null, __typename: 'FlowData___Subject', }, { type: 'Boolean', typeId: null, label: 'Boolean', instanceFields: [], fields: [], dir: null, __typename: 'FlowData___Subject', }, { type: 'Address', typeId: null, label: 'Address', instanceFields: [ { key: 'street', label: 'Straat', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'houseNumber', label: 'Huisnummer', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'addition', label: 'Addition', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'postcode', label: 'Postcode', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'city', label: 'City', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, ], fields: [], dir: null, __typename: 'FlowData___Subject', }, { type: 'Contact', typeId: null, label: 'Contact', instanceFields: [ { key: 'name', label: 'Name', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'address', label: 'Woonaddress', type: { type: 'Address', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, subInstanceFieldsTrigger: true, __typename: 'FlowData___InstanceField', }, { key: 'neighbour', label: 'Neighbour', type: { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'age', label: 'Age', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'email', label: 'Email', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: false, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'phone', label: 'Telefoonnummer', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'city', label: 'Woonplaats', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'blockMarketing', label: 'Uitgeschreven voor nieuwsbrieven', type: { type: 'Boolean', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, ], fields: [ { key: 'new', label: 'Nieuw', creates: { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId', }, representation: [ { rep: 'Nieuw Contact', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, ], args: [], only: null, never: null, triggers: true, condition: false, __typename: 'FlowData___SubjectField', }, ], dir: [ { label: 'Contact', weight: 10, key: 'contact', __typename: 'FlowData___Directory', }, ], __typename: 'FlowData___Subject', }, { type: 'Ramonzie', typeId: 'small', label: 'Small Ramonzie', instanceFields: [ { key: 'name', label: 'Name', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'strength', label: 'Strength', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: false, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'junklength', label: 'Lengte van de junk', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, ], fields: [ { key: 'new', label: 'Nieuw', creates: { type: 'Ramonzie', typeId: 'small', __typename: 'Flow___SubjectId', }, representation: [ { rep: 'Nieuw Small Ramonzie appeared', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, ], args: [], only: null, never: null, triggers: true, condition: false, __typename: 'FlowData___SubjectField', }, ], dir: [ { label: 'App', weight: 10, key: 'app', __typename: 'FlowData___Directory', }, { label: 'Pokemon', weight: 10, key: 'pokemon', __typename: 'FlowData___Directory', }, { label: 'Small Ramonzie ', weight: 10, key: 'ramonzie__small', __typename: 'FlowData___Directory', }, ], __typename: 'FlowData___Subject', }, { type: 'Ramonzie', typeId: 'large', label: 'Large Ramonzie', instanceFields: [ { key: 'name', label: 'Name', type: { type: 'String', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'strength', label: 'Strength', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: false, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'junklength', label: 'Lengte van de junk', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, { key: 'wingspan', label: 'Lengte van de wing', type: { type: 'Number', typeId: null, __typename: 'Flow___SubjectId', }, only: null, never: null, triggers: true, condition: true, __typename: 'FlowData___InstanceField', }, ], fields: [ { key: 'new', label: 'Nieuw', creates: { type: 'Ramonzie', typeId: 'small', __typename: 'Flow___SubjectId', }, representation: [ { rep: 'Nieuw Large Ramonzie appeared', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, ], args: [], only: null, never: null, triggers: true, condition: false, __typename: 'FlowData___SubjectField', }, { key: 'new1', label: 'Nieuw with junk', creates: { type: 'Ramonzie', typeId: 'small', __typename: 'Flow___SubjectId', }, representation: [ { rep: 'Nieuw Large Ramonzie appeared', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: 'with {{1}} lengte', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], only: null, never: null, triggers: true, condition: false, __typename: 'FlowData___SubjectField', }, ], dir: [ { label: 'App', weight: 10, key: 'app', __typename: 'FlowData___Directory', }, { label: 'Pokemon', weight: 10, key: 'pokemon', __typename: 'FlowData___Directory', }, { label: 'Large Ramonzie', weight: 10, key: 'ramonzie__large', __typename: 'FlowData___Directory', }, ], __typename: 'FlowData___Subject', }, ], instance: [ { key: ['global', 'contact'], instanceType: { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId', }, dir: [ { label: 'Contact', weight: 10, key: 'contact', __typename: 'FlowData___Directory', }, ], __typename: 'FlowData___FlowInstance', }, ], condition: [ { type: 'String_EQ', label: 'is gelijk aan', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'String_Not_Eq', label: 'is niet gelijk aan', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is niet gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'String_Contains', label: 'bevat', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} bevat', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'String_Not_Contains', label: 'bevat niet', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} bevat niet', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'String_Length', label: 'has length', input: [ { type: 'String', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} has length', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Number_EQ', label: 'is gelijk aan', input: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Number_Not_Eq', label: 'is niet gelijk aan', input: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is niet gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Number_Between', label: 'is between', input: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is between', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, { rep: 'and', variable: null, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{2}}', variable: 2, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Number_Not_Between', label: 'is niet between', input: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is not between', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, { rep: 'and', variable: null, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{2}}', variable: 2, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, { type: 'Number', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Boolean_EQ', label: 'is gelijk aan', input: [ { type: 'Boolean', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Boolean', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, { type: 'Contact_EQ', label: 'is gelijk aan', input: [ { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId' }, ], representation: [ { rep: '{{pointer}} is gelijk aan', variable: 0, __typename: 'FlowData___ConditionRepresentation', }, { rep: '{{1}}', variable: 1, __typename: 'FlowData___ConditionRepresentation', }, ], args: [ { type: 'Contact', typeId: null, __typename: 'Flow___SubjectId' }, ], __typename: 'FlowData___InstanceCondition', }, ], primitiveInput: [ { type: 'String', inputAppearance: 'Text', inputField: 'value_string', __typename: 'Flow___PrimitiveInput', }, { type: 'Number', inputAppearance: 'Integer', inputField: 'value_integer', __typename: 'Flow___PrimitiveInput', }, ], primitiveListInput: [ { type: 'Boolean', inputAppearance: 'List', inputField: 'value_boolean', options: [ { key: 'true', label: 'Jaa', __typename: 'Flow___PrimitiveListInputOption', }, { key: 'false', label: 'Nee', __typename: 'Flow___PrimitiveListInputOption', }, ], __typename: 'Flow___PrimitiveListInput', }, ], __typename: 'Flow___FlowData', }, };
Tests:
Ramda
var result = R.equals(data1, data2);
JSON.stringify
var result = JSON.stringify(data1) === JSON.stringify(data2);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Ramda
JSON.stringify
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
I'll do my best to extract the relevant information from the provided JSON data and answer your question. From the `raw benchmark result`, I see two test cases: **Individual test cases:** 1. **"Ramda"** * Benchmark Definition: `var result = R.equals(data1, data2);` 2. **"JSON.stringify"** * Benchmark Definition: `var result = JSON.stringify(data1) === JSON.stringify(data2);` And from the `Latest benchmark result`, I see two test results: **Latest benchmark result:** 1. **"JSON.stringify"** * Browser: Chrome 98 * DevicePlatform: Desktop * OperatingSystem: Mac OS X 10.15.7 * ExecutionsPerSecond: 12253.7939453125 2. **"Ramda"** * Browser: Chrome 98 * DevicePlatform: Desktop * OperatingSystem: Mac OS X 10.15.7 * ExecutionsPerSecond: 3461.309814453125 Now, to answer your question: The benchmarking data suggests that **JSON.stringify** is significantly faster than Ramda in the given context. Please let me know if you have any further questions or if there's anything else I can help with!
Related benchmarks:
Ramda equals vs JSON.stringify
Ramda 0.27.1 equals vs JSON.stringify
Ramda toString vs JSON.stringify
nested string equality - ramda equals vs equal operator
Ramda mergeRight vs object destructuring
Comments
Confirm delete:
Do you really want to delete benchmark?