Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coditva/postman-collection-property-list-benchmark
https://github.com/coditva/postman-collection-property-list-benchmark
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/coditva/postman-collection-property-list-benchmark
- Owner: coditva
- Created: 2019-06-26T08:57:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T18:43:17.000Z (over 3 years ago)
- Last Synced: 2023-03-02T18:56:21.779Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Benchmark before and after changing [postman-collection](https://github.com/postmanlabs/postman-collection)'s `Property-List` such that we always use `Property-List.reference` as an array of objects.
## Before
We use different way to store `reference`:
- As an object with *a value for each key* for properties with *single* values for same key.
- As an object with *an array for each key* for properties with *multiple* values for same key.## After
We use same way to store `reference`:
- As an object with *an array for each key* for properties with *multiple* values for same key.## Impact of change
### Pros:
- Faster access for multi valued lists.
- Less code path complexity.### Cons:
- Slower access for single valued lists.
- May/will impact users who use private data structures for lists.