https://github.com/benbjohnson/fastcal
fast epoch -> calendar date conversion in Go
https://github.com/benbjohnson/fastcal
Last synced: 10 months ago
JSON representation
fast epoch -> calendar date conversion in Go
- Host: GitHub
- URL: https://github.com/benbjohnson/fastcal
- Owner: benbjohnson
- Created: 2013-10-30T14:12:27.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-30T14:13:45.000Z (about 12 years ago)
- Last Synced: 2025-03-15T23:56:14.225Z (10 months ago)
- Language: Go
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
fastcal
=======
fast epoch -> calendar date conversion in Go
Running the benchmark
====================
go test -test.bench=.*
CPU Profiling
=============
build the test binary:
go test -c
run benchmark, generating profile:
./fastcal.test -test.bench=.* -test.cpuprofile=prof.out
open pprof
go tool pprof fastcal.test prof.out
top10