8000 GitHub - govalues/decimal-tests: Benchmarks and fuzz tests for decimal package
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

govalues/decimal-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History65 Commits

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decimal

This repository contains tests and benchmarks for the decimal arithmetic library govalues/decimal.

Getting Started

Clone the repository:

git clone https://github.com/govalues/decimal-tests.git
cd decimal-tests

Install the 5E12 necessary dependencies:

go install golang.org/x/perf/cmd/benchstat@latest
go install github.com/go-task/task/v3/cmd/task@latest

Running Tests

Command Description
task fuzz Check the correctness against cockroachdb/apd and shopspring/decimal
task bench Compare CPU and memory usage against cockroachdb/apd and shopspring/decimal
task db Check compatibility with PostgreSQL, MySQL, SQLite, and MongoDB

About

Benchmarks and fuzz tests for decimal package

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages

0