1
0
mirror of https://github.com/golang/go synced 2024-09-30 12:28:35 -06:00
go/misc/cgo/test
Alex Brainman 72e83483a7 runtime: speed up cgo calls
Allocate Defer on stack during cgo calls, as suggested
by dvyukov. Also includes some comment corrections.

benchmark                   old,ns/op   new,ns/op
BenchmarkCgoCall                  669         330
(Intel Xeon CPU 1.80GHz * 4, Linux 386)

R=dvyukov, rsc
CC=golang-dev
https://golang.org/cl/4910041
2011-08-18 12:17:09 -04:00
..
align.go misc/cgo/test: run tests 2011-05-02 13:55:51 -04:00
basic.go runtime: speed up cgo calls 2011-08-18 12:17:09 -04:00
callback_c.c runtime: scheduler, cgo reorganization 2011-03-07 10:37:42 -05:00
callback.go misc/cgo/test: run tests 2011-05-02 13:55:51 -04:00
cgo_test.go runtime: speed up cgo calls 2011-08-18 12:17:09 -04:00
duplicate_symbol.go cgo: omit duplicate symbols in writeDefs 2011-08-16 14:56:23 -04:00
env.go go/printer, gofmt: fix alignment of "=" in const/var declarations 2011-05-09 15:16:34 -07:00
exports.go cgo: add missing semicolon in generated struct 2011-07-18 07:23:52 -07:00
issue1222.go runtime: scheduler, cgo reorganization 2011-03-07 10:37:42 -05:00
issue1328.go misc/cgo/test: run tests 2011-05-02 13:55:51 -04:00
issue1560.go misc/cgo/test: run tests 2011-05-02 13:55:51 -04:00
Makefile cgo: omit duplicate symbols in writeDefs 2011-08-16 14:56:23 -04:00
runtime.c runtime: scheduler, cgo reorganization 2011-03-07 10:37:42 -05:00