merdacz / deserializer Goto Github PK
View Code? Open in Web Editor NEWRestSharp JSON deserialization playground
RestSharp JSON deserialization playground
Please refer to LoadTests
unit-test for additional information on the individual scenarios tested.
While in most cases alternative version is superior to original one in that particular one it persistently is not. The guess is that it may have to do with GC collection. Forcing GC may help overcome this bias.
Version | # of entries | # of loops | Total time [ms] |
---|---|---|---|
Original | 10 | 500 | 505 * |
Alternative | 10 | 500 | 897 * |
While this is not as unexpected as the above, it may still be worth looking into.
While total "effort" (entries times loops) is the same, lower number of loops (external for) yields better
result compared to higher count one with smaller number of entries. It may have to do something with buffer allocation/GC collection as well.
Version | # of entries | # of loops | Total time [ms] |
---|---|---|---|
Original | 2 | 5000 | 1548 |
Alternative | 2 | 5000 | 1192 |
Original | 20 | 500 | 919 |
Alternative | 20 | 500 | 718 |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.