Skip to content

Repository files navigation

Named-Data Network (NDN)

This package provides elegant and simple ndn library for research and testing purpose. NDN evolves quickly, and the latest format that the current implementation follows is on ndn doc

GoDoc

Benchmark

2017-01

BenchmarkDataEncodeRSA-8     	     500	   2459538 ns/op
BenchmarkDataEncodeECDSA-8   	    2000	    813159 ns/op
BenchmarkDataEncodeHMAC-8    	  200000	      6028 ns/op
BenchmarkDataEncode-8        	 1000000	      1779 ns/op
BenchmarkDataDecode-8        	  500000	      3067 ns/op
BenchmarkInterestEncode-8    	 2000000	       614 ns/op
BenchmarkInterestDecode-8    	 2000000	       910 ns/op

2015-10

BenchmarkDataEncodeRSA-8         50000   2732604 ns/op
BenchmarkDataEncodeECDSA-8    200000   1135775 ns/op
BenchmarkDataEncodeHMAC-8     200000      6597 ns/op
BenchmarkDataEncode-8        1000000      1613 ns/op
BenchmarkDataDecode-8         300000      3938 ns/op
BenchmarkInterestEncode-8    2000000       616 ns/op
BenchmarkInterestDecode-8    2000000       907 ns/op

2015-03

BenchmarkDataEncodeRSA	     100	  11268142 ns/op
BenchmarkDataEncodeECDSA	    1000	   2305271 ns/op
BenchmarkDataEncode	  100000	     13603 ns/op
BenchmarkDataDecode	  100000	     18023 ns/op
BenchmarkInterestEncode	  200000	      8303 ns/op
BenchmarkInterestDecode	  200000	     11306 ns/op

2014-08

BenchmarkDataEncodeRSA	     100	  10602984 ns/op
BenchmarkDataEncodeECDSA	    1000	   2331976 ns/op
BenchmarkDataEncode	   50000	     34764 ns/op
BenchmarkDataDecode	   50000	     71636 ns/op
BenchmarkInterestEncode	  200000	     11575 ns/op
BenchmarkInterestDecode	  100000	     33929 ns/op

2014-01

BenchmarkDataSHA256Encode     100000         22272 ns/op
BenchmarkDataSHA256Decode     100000         27381 ns/op
BenchmarkDataRSAEncode       100      23419913 ns/op
BenchmarkDataRSADecode     50000         68238 ns/op
BenchmarkInterestEncode   200000          9064 ns/op
BenchmarkInterestDecode   100000         17223 ns/op

Note: RSA key is 2048 bits. ECDSA uses P224.

About

elegant NDN library in go

Resources

Stars

21 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages