Discover Packages
github.com/joshuaandrew/learning
std
test
labs20
package
Version:
v0.0.0-...-6c2044b
Opens a new window with list of versions in this module.
Published: Feb 6, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
测试Go调用C和C调用Go的效率差异。
测试结果:
> go test labs20 -bench=".*"
testing: warning: no tests to run
PASS
Benchmark_Go_Call_C 50000000 55.6 ns/op
Benchmark_C_Call_GO 5000000 434 ns/op
ok labs20 5.473s
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.