Skip to content

Commit

Permalink
Updated benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
kcleal committed Jan 30, 2024
1 parent 70f6b80 commit 33f9517
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,16 @@
custom_params = {"axes.spines.right": False, "axes.spines.top": False}
sns.set_theme(style="ticks", rc=custom_params)

palette = sns.color_palette('tab10', n_colors=8)
colors = {}
for clr, name in zip(palette, ('gw', 'gw -t4', 'igv', 'igv -t4', 'jb2export', 'samplot', 'bamsnap', 'genomeview')):
colors[name] = clr

#
for item in ['total_time', 'relative_time', 'render', 'relative_render_time', 'total_mem', 'relative_mem']:
g = sns.catplot(data=df2,
palette="tab10", x='region size (bp)', y=item, hue='name',
kind='point', alpha=0.6)
x='region size (bp)', y=item, hue='name',
kind='point', alpha=0.6, palette=colors)

g.ax.set_xlabel("Region size (bp)", fontsize=14)
label = list(item.replace('_', ' '))
Expand Down
Binary file modified test/results_lr/benchmark_relative_mem_log.pdf
Binary file not shown.
Binary file modified test/results_lr/benchmark_relative_render_time_log.pdf
Binary file not shown.
Binary file modified test/results_lr/benchmark_relative_time_log.pdf
Binary file not shown.
Binary file modified test/results_lr/benchmark_render_log.pdf
Binary file not shown.
Binary file modified test/results_lr/benchmark_total_mem_log.pdf
Binary file not shown.
Binary file modified test/results_lr/benchmark_total_time_log.pdf
Binary file not shown.
Binary file modified test/results_pe/benchmark_relative_mem_log.pdf
Binary file not shown.
Binary file modified test/results_pe/benchmark_relative_render_time_log.pdf
Binary file not shown.
Binary file modified test/results_pe/benchmark_relative_time_log.pdf
Binary file not shown.
Binary file modified test/results_pe/benchmark_render_log.pdf
Binary file not shown.
Binary file modified test/results_pe/benchmark_total_mem_log.pdf
Binary file not shown.
Binary file modified test/results_pe/benchmark_total_time_log.pdf
Binary file not shown.

0 comments on commit 33f9517

Please sign in to comment.