readme
This commit is contained in:
parent
9ea6685cbb
commit
1190af7222
|
@ -112,7 +112,8 @@ username, err := cfg.GetString("database.credentials.username")
|
||||||
|
|
||||||
## Performance
|
## Performance
|
||||||
|
|
||||||
This parser provides competitive performance compared to popular formats like JSON, YAML, and TOML:
|
Fin goes blow-for-blow against Go's standard JSON library, and performs incredibly versus
|
||||||
|
the standard TOML and YAML implementations:
|
||||||
|
|
||||||
| Benchmark | Operations | Time (ns/op) | Memory (B/op) | Allocations (allocs/op) |
|
| Benchmark | Operations | Time (ns/op) | Memory (B/op) | Allocations (allocs/op) |
|
||||||
|-----------|----------:|-------------:|--------------:|------------------------:|
|
|-----------|----------:|-------------:|--------------:|------------------------:|
|
||||||
|
@ -132,7 +133,7 @@ This parser provides competitive performance compared to popular formats like JS
|
||||||
| YAML | 12,536 | 95,945 | 65,568 | 1,208 |
|
| YAML | 12,536 | 95,945 | 65,568 | 1,208 |
|
||||||
| TOML | 14,732 | 74,198 | 66,050 | 669 |
|
| TOML | 14,732 | 74,198 | 66,050 | 669 |
|
||||||
|
|
||||||
*Benchmarked on AMD Ryzen 9 7950X 16-Core Processor*
|
*AMD Ryzen 9 7950X*
|
||||||
|
|
||||||
## Why Choose Fin?
|
## Why Choose Fin?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user