Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefane Fermigier
neo
Commits
a02b6fd8
Commit
a02b6fd8
authored
Apr 06, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c1b8ffda
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
283 additions
and
241 deletions
+283
-241
go/NOTES-go
go/NOTES-go
+0
-20
go/neo/storage/sqlite/py/gen-testdata
go/neo/storage/sqlite/py/gen-testdata
+1
-1
go/todo.dot
go/todo.dot
+2
-2
go/todo.svg
go/todo.svg
+280
-218
No files found.
go/NOTES-go
View file @
a02b6fd8
...
...
@@ -40,26 +40,6 @@ runtime/HACKING.md
- TODO stats for events (packets received, errors, etc)
- custom memory manager is required to avoid performance hit on e.g. []byte alloc/dealloc
-> go-slab
- interfaces conversion in very hot codepaths are costly:
e.g. having r as io.ReadSeeker and converting it to io.Reader e.g. this way:
io.ReadFull(r, ...)
calls convI2I all the time (no caching) which is not negliable
( recheck it is still true after https://github.com/golang/go/commit/3d1699ea:
-> it is still the case; convI2I cost is ~ 8ns - i.e. it is not big for
non-hot codepaths - uncontended mutex lock/unlock is 15-25ns. )
- x/net/trace to trace requests and connection logging (and packets ?)
- packet log; general log -> glog ?
...
...
go/neo/storage/sqlite/py/gen-testdata
View file @
a02b6fd8
...
...
@@ -39,7 +39,7 @@ def main():
cluster
.
stop
()
cluster
.
waitAll
()
# XXX current neo/go/sqlite limitation: it cannot reply !empty ttrans/tobj on open
# XXX current neo/go/sqlite limitation: it cannot repl
a
y !empty ttrans/tobj on open
# -> open/close storage to get t* flushed
cluster
=
NEOCluster
(
db_list
=
[
"testdata/1.sqlite"
],
name
=
"test"
,
adapter
=
"SQLite"
,
clear_databases
=
False
)
cluster
.
start
()
...
...
go/todo.dot
View file @
a02b6fd8
...
...
@@ -53,14 +53,14 @@ digraph {
Cgo_r_Sgo
[
label
=<
C
<sub>
go
</sub>
read S
<sub>
go
</sub>
>
style
=
filled
fillcolor
=
lightyellow
]
;
Cgo_r_Spy
[
label
=<
C
<sub>
go
</sub>
read S
<sub>
py
</sub>
>
style
=
filled
fillcolor
=
lightyellow
]
;
Cleanup
[
label
=
"Cleanup history"
]
;
Post
[
label
=
"Post"
]
;
Post
[
label
=
"Post"
style
=
filled
fillcolor
=
lightyellow
]
;
//Cpy_patch [label=<py patch: ConnID py=go> style=filled fillcolor=lightyellow]; // C<sub>py</sub> patch for ConnID interop. with S<sub>go</sub>>];
Mmap_go
[
label
=
"? io.ReaderAt via mmap"
]
;
//Protog_fix [label="proto(go/py) compat fix" style=filled fillcolor=lightyellow];
//Mpy_vs_Sgo [label=<M<sub>py</sub> vs S<sub>go</sub>: try/fix> style=filled fillcolor=lightyellow];
io_cancel
[
label
=
"? conn IO vs ctx cancel"
]
;
load_serial_next
[
label
=<
? GetObject return += serial
<sub>
next
</sub>
>
]
;
load_serial_next
[
label
=<
? GetObject return += serial
<sub>
next
</sub>
>
style
=
filled
fillcolor
=
lightyellow
]
;
sha1_index
[
label
=
"? sha1 index"
]
;
//B_link_recv [label="Bench link.Recv1/Ask1" style=filled fillcolor=lightyellow];
...
...
go/todo.svg
View file @
a02b6fd8
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment