Categorygithub.com/cfsghost/parallel-chunked-flow
modulepackage
0.0.6
Repository: https://github.com/cfsghost/parallel-chunked-flow.git
Documentation: pkg.go.dev

# README

parallel-chunked-flow

GoDoc

Package parallel chunked flow provides the ability to craete parallel pipeline for sequential data.

Benchmark

Here is result of benchmark with parsing JSON string:

$ go test -bench=.
goos: darwin
goarch: amd64
pkg: github.com/cfsghost/parallel-chunked-flow
BenchmarkBasic/Small-16                      	  721980	      1516 ns/op
BenchmarkBasic/Large-16                      	    9712	    110151 ns/op
BenchmarkChunkedFlowWithLowChunkCount/Small-16         	 2427859	       441 ns/op
BenchmarkChunkedFlowWithLowChunkCount/Large-16         	   52950	     31015 ns/op
BenchmarkChunkedFlowWithHighChunkCount/Small-16        	 2539164	       449 ns/op
BenchmarkChunkedFlowWithHighChunkCount/Large-16        	   54291	     26143 ns/op
PASS
ok  	github.com/cfsghost/parallel-chunked-flow	10.282s

License

Licensed under the MIT License

Authors

Copyright(c) 2020 Fred Chien [email protected]

# Functions

No description provided by the author
NewOptions creates a Options object.
NewParallelChunckedFlow creates a new parallel chunked flow.

# Structs

No description provided by the author
Options represent all of the available options when creating a parallel chunked flow.
No description provided by the author