Comments (4)
This is the run of your latest rectified benchmark with some fixes in test method code
BenchmarkDotNet v0.13.12, Windows 10 (10.0.19045.4355/22H2/2022Update) (Hyper-V)
11th Gen Intel Core i5-1145G7 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.205
[Host] : .NET 8.0.5 (8.0.524.21615), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
.NET 8.0 : .NET 8.0.5 (8.0.524.21615), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job=.NET 8.0 Runtime=.NET 8.0
Method | Mean | Error | StdDev |
---|---|---|---|
LibDeflate | 19.48 us | 0.381 us | 0.581 us |
Zlib | 27.57 us | 0.545 us | 1.437 us |
from modernuo.
This is the first benchmark from the just created related branch on ModernUO-Benchmarks.
The gain in term of time is not so relevant: the other gain is the compress ratio that is a little better than Zlib.
I think that for that small bytearray (a fake gump in the benchmark) there is not a big difference between Zlib and Libdeflate.
BenchmarkDotNet v0.13.12, Windows 10 (10.0.19045.4355/22H2/2022Update) (Hyper-V)
11th Gen Intel Core i5-1145G7 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.204
[Host] : .NET 8.0.4 (8.0.424.16909), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
.NET 8.0 : .NET 8.0.4 (8.0.424.16909), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job=.NET 8.0 Runtime=.NET 8.0
Method | Mean | Error | StdDev | Allocated |
---|---|---|---|---|
ZlibComp | 21.68 us | 0.433 us | 0.635 us | - |
LibdeflateComp | 19.79 us | 0.385 us | 0.653 us | - |
@kamronbatman could you pls check the benchmark in case I made a mistake?
from modernuo.
I like this!
Let's move forward. I'll clone the zlib.bindings repo and we can modify it to use libdeflate. Then replace the dependency/update readme in ModernUO.
from modernuo.
Merged in #1774
from modernuo.
Related Issues (20)
- .Net 8 - SendOPLPacketTo sends corrupt data
- Add New Magincia to starting cities for the clients/eras that support it.
- Make Tracking Skill closer to OSI
- Gump refactor for caching and functional generation HOT 6
- [BUG] Feint weapon ability is implemented incorrectly
- Remove IPAddress Intern
- Remove duplicate commands from HelpInfo
- Upgrade Ethics system to use Codegen
- Break up large codegenned files to improve IDE performance
- BloodOath timing is inaccurate
- Boats run into each other causes stuck entities
- Placing Houses next to each other causes z level issues
- Fix seeding/UOG HOT 1
- Make Travel Restrictions configurable
- New loot system HOT 1
- Update TextDefinition to support new Gump API HOT 1
- Move DisarmRequest/StunRequest to UOContent HOT 1
- Remove unneeded EventSinks
- Add missing animal form abilities
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 modernuo.