Skip to content

govalues/decimal-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 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 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 sql Check compatibility with PostgreSQL, MySQL, and SQLite
task bench Compare CPU and memory usage against cockroachdb/apd and shopspring/decimal

About

Benchmarks and fuzz tests for decimal package

Resources

License

Stars

Watchers

Forks

Languages