Skip to content

Navigation Menu

Sign in
Sign up

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 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

Stars

0 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /