go-reactjs

command module
v0.0.0-...-1668be1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2015 License: MIT Imports: 3 Imported by: 0

README

React.js server-side rendering with Go

This experiment is based on otto, a Javascript interpreter for Go.

To run:

go build ./...
./go-reactjs

To benchmark:

go test -bench=.

The results on my MacBook Pro (2.4 GHz i5):

BenchmarkRender1	     100	  17128739 ns/op
BenchmarkRender5	      50	  47324904 ns/op
BenchmarkRender10	      20	  79839996 ns/op
BenchmarkRender20	      10	 164226676 ns/op
BenchmarkRender50	       2	 612836671 ns/op
BenchmarkRender100	     1	1777275883 ns/op
BenchmarkRender200	     1	4190131936 ns/op
BenchmarkRender500	     1	20789000942 ns/op

ok  	github.com/101loops/go-reactjs	39.314s

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL