Skip to content

iomz/go-llrp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

699260a · Oct 26, 2024

History

89 Commits
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Jul 10, 2018
Apr 10, 2019
Apr 27, 2019
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Apr 28, 2020
Oct 26, 2024
Jan 27, 2020
Apr 10, 2019
Jan 29, 2020
Jul 10, 2018
Jul 10, 2018
Jul 10, 2018
Jul 10, 2018
Apr 27, 2019
Jul 10, 2018
Jul 10, 2018
Jul 10, 2018

Repository files navigation

go-llrp

Test Go Report Card codecov GoDoc License

The go-llrp package is a tiny library for simple LLRP message and paramter composition. See golemu for an example use of this package.

Installation

go get -v github.com/iomz/go-llrp

Benchmark

% go test -run=XXX -bench=BenchmarkUnmarshal -timeout=0 -v -benchmem
goos: linux
goarch: amd64
pkg: github.com/iomz/go-llrp
BenchmarkUnmarshal100Tags-32              100000             24435 ns/op            7344 B/op        114 allocs/op
BenchmarkUnmarshal200Tags-32               30000             45400 ns/op           14696 B/op        223 allocs/op
BenchmarkUnmarshal300Tags-32               20000             66518 ns/op           22616 B/op        335 allocs/op
BenchmarkUnmarshal400Tags-32               20000             91934 ns/op           29904 B/op        446 allocs/op
BenchmarkUnmarshal500Tags-32               10000            109674 ns/op           37256 B/op        555 allocs/op
BenchmarkUnmarshal600Tags-32               10000            135384 ns/op           45368 B/op        669 allocs/op
BenchmarkUnmarshal700Tags-32               10000            156957 ns/op           52976 B/op        779 allocs/op
BenchmarkUnmarshal800Tags-32               10000            179061 ns/op           59816 B/op        887 allocs/op
BenchmarkUnmarshal900Tags-32               10000            199013 ns/op           67928 B/op       1001 allocs/op
BenchmarkUnmarshal1000Tags-32              10000            227144 ns/op           75536 B/op       1111 allocs/op
PASS
ok      github.com/iomz/go-llrp 82016.381s
go test -run=XXX -bench=BenchmarkUnmarshal -timeout=0 -v -benchmem  158855.53s user 671.25s system 194% cpu 22:46:57.00 total

License

Licensed under the MIT license. Copyright (c) 2016-2019 Iori Mizutani.

About

Tiny LLRP library for Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages