Comments (1)
are you still keen on accepting PRs for performance tests? I'd propose we evaluate the performance on the basis of the following parameters to benchmark the code at each point.
Compression ratio
The size of the JSON post compression, compared to the original JSON. This can be used to determine the efficiency of the compression, the higher the CR better the compression.
File size after compression and reconstruction
This parameter determines the size in bytes of the JSON after compression and the JSON size after the reconstruction in order to identify the loss of data in the compression and reconstruction process. It is measured in bytes. I am aware that jsonpack is lossless.
Unpacking integrity
Did the packed JSON unpack to be the same as the original JSON? A test to check if their hashes match.
Compression Speed
Time required for compressing the JSON in seconds.
Saving percentage
Calculate the percentage value of the shrinkage source(initial) JSON.
from jsonpack.
Related Issues (13)
- Unpacking issue with IE HOT 3
- Asynchronous Packing and Unpacking HOT 7
- can't import via bower
- unable to unpack (readable) 'objectId' of mongo docs. help! HOT 1
- Your cpm link is dead
- Suggestion: using zlib deflate dictionary to compress json data HOT 1
- Can not distinguish JSON string and JSON object HOT 2
- Timestamps/Date not working?
- Packing array that is not instance of Array results in a object
- take JavaScript transformation to GoLang
- Other Languages
- TODO: Adding some tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonpack.