Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Larralde
pyrodigal
Commits
9a2eef93
Commit
9a2eef93
authored
Mar 13, 2022
by
Martin Larralde
Browse files
Update `figure2.svg` to use latest benchmark results
parent
63fa930e
Changes
3
Hide whitespace changes
Inline
Side-by-side
benches/connection_scoring/plot.py
View file @
9a2eef93
...
...
@@ -58,13 +58,9 @@ for color, (backend, group) in zip(
Y
=
numpy
.
array
([
r
[
"mean"
]
for
r
in
group
])
reg
=
scipy
.
stats
.
linregress
(
X
,
Y
)
plt
.
plot
([
0
,
max
(
X
)
],
[
reg
.
intercept
,
reg
.
slope
*
max
(
X
)
+
reg
.
intercept
],
color
=
color
,
linestyle
=
"--"
,
marker
=
""
)
<<<<<<<
HEAD
# ci = [1.96 * r["stddev"] / math.sqrt(len(r["times"])) for r in group]
plt
.
scatter
(
X
,
Y
,
marker
=
"+"
,
color
=
color
,
label
=
f
"
{
backend
}
(R²=
{
reg
.
rvalue
**
2
:.
3
f
}
)"
)
=======
ci
=
[
1.96
*
r
[
"stddev"
]
/
math
.
sqrt
(
len
(
r
[
"times"
]))
for
r
in
group
]
plt
.
errorbar
(
X
,
Y
,
ci
,
linestyle
=
''
,
marker
=
"+"
,
color
=
color
,
elinewidth
=
0.3
,
ecolor
=
'black'
,
label
=
f
"
{
backend
}
($R^2$=
{
reg
.
rvalue
**
2
:.
3
f
}
)"
)
>>>>>>>
d7a9c03
(
Update
connection
scoring
benchmark
plot
to
show
R
²
instead
of
R
)
plt
.
legend
()
plt
.
xlabel
(
"Nucleotide count (Mbp)"
)
plt
.
ylabel
(
"Time (s)"
)
...
...
paper/figure2.svg
View file @
9a2eef93
../benches/connection_scoring/v0.6.4.svg
\ No newline at end of file
../benches/connection_scoring/v0.7.2.svg
\ No newline at end of file
paper/paper.md
View file @
9a2eef93
...
...
@@ -129,8 +129,9 @@ the heuristic filter in Pyrodigal saves about half of the time needed to score
connections between all the nodes of a sequence.

{width=100%}
filter SIMD backends (SSE2 or AVX2), with a generic backend (Generic) or without enabling
the filter (None).
*Each sequence was processed 10 times on a quiet i7-10710U CPU @ 1.10GHz*. \label{fig:benchmark}
](
figure2.svg
)
{width=100%}
# Availability
...
...
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