• Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React.js server-side rendering with Go

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

More Repositories

1

rewire

Dependency injection for Elixir. Zero code changes required.
Elixir
70
star
2

html

Go package for loading, composing and rendering HTML templates
Go
34
star
3

clock

Go package to return the time; and mock it
Go
29
star
4

subvoc

Learn new words from movies
JavaScript
20
star
5

minifyretracer

Trace back the sources that contribute to your minified JavaScript artifact.
JavaScript
11
star
6

grunt-go

Grunt plugin for working with Go
JavaScript
10
star
7

babel-plugin-immutable-record

Generate immutable, statically typed records
JavaScript
10
star
8

idea-codestyle-hook-plugin

IntelliJ plugin to apply code style on commit
Java
9
star
9

iszero

Go package to check for zero value
Go
7
star
10

om-tutorial

Source code of the tutorial for Om
Clojure
5
star
11

country

Go package with useful country information
Go
5
star
12

codingkata-org

katas from codingkata.org
Java
4
star
13

screeny

Heroku-hosted screenshot server
CoffeeScript
3
star
14

grunt-appengine

Grunt task for running and managing App Engine
JavaScript
3
star
15

hrd

Go package for App Engine datastore
Go
2
star
16

babel-plugin-decorator-metadata

Define decorator metadata
JavaScript
2
star
17

errors

Go package with error utilities
Go
1
star
18

strutil

Go package with string utilities
Go
1
star
19

errhtml

Go package to display runtime errors in HTML
Go
1
star
20

mcache

Go package for in-memory key/value cache
Go
1
star
21

bdd

Go package for writing BDD-style tests
Go
1
star
22

babel-plugin-type-metadata

Define Flow type metadata
JavaScript
1
star
23

httpsniff

Chrome extension to load network calls into Advanced REST Client
JavaScript
1
star