Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
756c2e6c
Commit
756c2e6c
authored
Sep 10, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
58e12657
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
28 deletions
+29
-28
go/neo/t/t.sh
go/neo/t/t.sh
+29
-28
No files found.
go/neo/t/t.sh
View file @
756c2e6c
...
...
@@ -228,6 +228,7 @@ GENsql() {
# ---- main driver ----
# data/versions
echo
-n
"# "
;
date
--rfc-2822
echo
-n
"# "
;
grep
"^model name"
/proc/cpuinfo |head
-1
|sed
-e
's/model name\s*: //'
echo
-n
"# "
;
uname
-a
...
...
@@ -237,7 +238,7 @@ echo -n "# "; mysqld --version
# pyver <egg> (<showas>) - print version of egg
pyver
()
{
#
return # XXX temp to save time
return
# XXX temp to save time
local
egg
=
$1
local
showas
=
$2
test
"
$showas
"
==
""
&&
showas
=
$egg
...
...
@@ -257,23 +258,23 @@ pyver zodb
pyver zeo
pyver mysqlclient
pyver wendelin.core
exit
# generate test databases
GENfs
GENsqlite
GENsql
wait
sync
# run benchmarks
N
=
`
seq
2
`
# XXX repeat benchmarks N time
# time1 <url> - run benchmarks on the URL once
bench1
()
{
url
=
$1
# time demo-zbigarray read $url
./zsha1.py
$url
#
./zsha1.py $url
if
[[
$url
==
zeo://
*
]]
;
then
echo
"(skipping zsha1.go on ZEO -- Cgo does not support zeo:// protocol)"
return
...
...
@@ -287,30 +288,30 @@ for i in $N; do
bench1
$fs1
/data.fs
done
echo
-e
"
\n
*** ZEO"
Zpy
$fs1
/data.fs
for
i
in
$N
;
do
bench1 zeo://
$Zbind
done
killall runzeo
wait
echo
-e
"
\n
*** NEO/py sqlite"
NEOpylite
for
i
in
$N
;
do
bench1 neo://
$cluster
@
$Mbind
done
xneoctl
set
cluster stopping
wait
echo
-e
"
\n
*** NEO/py sql"
NEOpysql
for
i
in
$N
;
do
bench1 neo://
$cluster
@
$Mbind
done
xneoctl
set
cluster stopping
xmysql
-e
"SHUTDOWN"
wait
#
echo -e "\n*** ZEO"
#
Zpy $fs1/data.fs
#
for i in $N; do
#
bench1 zeo://$Zbind
#
done
#
killall runzeo
#
wait
#
echo -e "\n*** NEO/py sqlite"
#
NEOpylite
#
for i in $N; do
#
bench1 neo://$cluster@$Mbind
#
done
#
xneoctl set cluster stopping
#
wait
#
echo -e "\n*** NEO/py sql"
#
NEOpysql
#
for i in $N; do
#
bench1 neo://$cluster@$Mbind
#
done
#
xneoctl set cluster stopping
#
xmysql -e "SHUTDOWN"
#
wait
echo
-e
"
\n
*** NEO/go"
NEOgo
...
...
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