de6eef9178
mv net/mock2 -> net/mock
2014-12-17 23:25:40 -08:00
58510640fa
rm old mock
2014-12-17 23:25:40 -08:00
dd33f6d9dc
transition dht to mock2
2014-12-17 23:25:40 -08:00
e6a7179a8a
mock2: removed list to fix bugs
...
container/lists suck
2014-12-17 23:25:39 -08:00
444f47d7f5
mock2: link map fixes
2014-12-17 23:25:39 -08:00
59d1426cf5
mock2/ missing ctxgroup
2014-12-17 23:25:39 -08:00
2f9d398d66
mock2/ connections
2014-12-17 23:25:39 -08:00
3c9be87704
mock2: ConnectAll
2014-12-17 23:25:39 -08:00
5a2a8c62f3
unlinkPeers fix
2014-12-17 23:25:39 -08:00
ac42cbe9f9
mock2
2014-12-17 23:25:39 -08:00
31a62aff94
testutil: gen peers with keys
2014-12-17 23:25:39 -08:00
6884c9ddd2
trivial change to trigger build
2014-12-17 23:25:38 -08:00
1f59e18d36
whoops deps
2014-12-17 23:25:38 -08:00
78c0802f97
connect swarm context to network
2014-12-17 23:25:38 -08:00
ba323c3e48
make vendor
2014-12-17 23:25:38 -08:00
7648a8b55c
swarm tests: dont send to self
2014-12-17 23:25:38 -08:00
bc2d35fd4d
Lots of fixes. DHT tests pass
2014-12-17 23:25:38 -08:00
7fdafaf1e5
stress test
2014-12-16 14:47:30 -08:00
fd3cd399e5
mock network
2014-12-16 14:47:29 -08:00
41751b4938
Integrated new network into ipfs
2014-12-16 14:47:29 -08:00
061e1ab861
net: better protocol headers
2014-12-16 14:47:29 -08:00
c150668a1c
net: threadsafe mux handler add
2014-12-16 14:47:29 -08:00
f18bbde344
net: StreamHandlerMap + protocol ids
2014-12-16 14:47:29 -08:00
b039ebceb6
core: arrangement change in struct
2014-12-16 14:47:29 -08:00
50f01576ca
Update net.go
2014-12-16 05:55:41 -08:00
c63ffdd0ae
removed old network
2014-12-16 05:10:46 -08:00
6334e19374
make net work with new stream + mux
2014-12-16 05:10:46 -08:00
e5e2d59f0e
moved mux into net
2014-12-16 05:10:46 -08:00
31a3c4497a
swarm fixes
2014-12-16 05:10:46 -08:00
b5b4390ca4
refactor SwarmConn -> Conn
2014-12-16 05:10:46 -08:00
9c11970554
handler muxer
2014-12-16 05:10:46 -08:00
6bc26f1752
writing swarm2 using go-peerstream
...
omg wow such pass
2014-12-16 05:10:46 -08:00
b9525f1524
added loggables pkg
2014-12-16 05:10:45 -08:00
a3a48ce67b
conn: tests pass :)
2014-12-16 05:10:45 -08:00
0061f0c151
new swarm -- it's so simple
2014-12-16 05:10:45 -08:00
393842e245
much simpler net
...
- removed ctxcloser
- removed multiconn
- focused on netio
2014-12-16 05:10:45 -08:00
55d1e794c7
multierr
2014-12-16 05:10:45 -08:00
9b7fb704ef
make net/conn.Conn conform to net.Conn
2014-12-16 05:10:45 -08:00
3b29653022
updated msgio + secio
2014-12-16 05:10:45 -08:00
9d304768fc
stash
2014-12-16 05:10:45 -08:00
bd636e1e95
muxer io
2014-12-16 05:10:45 -08:00
d94593a955
new swarm with io and router
2014-12-16 05:10:44 -08:00
6944531026
updated msgio (bufixes)
2014-12-16 05:10:44 -08:00
62204fce65
added ctxgroup and router
2014-12-16 05:10:44 -08:00
129eca0d82
multiconn: close fanIn + error
2014-12-16 05:10:44 -08:00
5341379f9d
net/conn: io, not channels
...
This commit changes the connections to use io.ReadWriters
instead of channels (+ async workers). This is a pretty
big change -- away from csp -- in the name of performance
(and predictable flow control).
It also uses the brand new secio, which is spipe's successor.
2014-12-16 05:10:44 -08:00
48bf446129
Merge pull request #455 from jbenet/test/improve-accuracy-of-mock
...
fix: routing mock accuracy
2014-12-16 04:55:24 -08:00
19e8eb5158
fix: formatting
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-15 22:01:17 -08:00
c048b6b0ff
add mixed benchmark
...
BenchmarkMixedAddCat1MBXX 2 517168259 ns/op 2.03 MB/s
BenchmarkMixedAddCat2MBXX 2 526999378 ns/op 3.98 MB/s
BenchmarkMixedAddCat4MBXX 2 543184846 ns/op 7.72 MB/s
BenchmarkMixedAddCat8MBXX 2 590800431 ns/op 14.20 MB/s
BenchmarkMixedAddCat16MBX 2 688463619 ns/op 24.37 MB/s
BenchmarkMixedAddCat32MBX 2 881731910 ns/op 38.06 MB/s
BenchmarkMixedAddCat64MBX 1 1254493054 ns/op 53.49 MB/s
BenchmarkMixedAddCat128MB 1 1941335608 ns/op 69.14 MB/s
BenchmarkMixedAddCat256MB 1 4748005512 ns/op 56.54 MB/s
@whyrusleeping
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-15 20:57:44 -08:00
e30f497c74
add more routing benchmarks
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-15 20:52:52 -08:00