<commit_before>#!/usr/bin/gnuplot

set terminal postscript color
set output 'timing.ps'

set title 'Futures based multiply'

set logscale xy

set xlabel '# cores'
set ylabel 'walltime [s]'

full_2048_128_t1  = 40.368775
full_1024_64_t1   = 22.848918
full_1024_64_t2   = 3.197707
charm_1024_64_t1  = 0.371398
charm_2048_128_t1 = 1.320883

set datafile missing '-'

set xrange [1:48]
set xtics ( "1" 1, "2" 2, "4" 4, "8" 8, "16" 16, "32" 32, "48" 48 )

plot for [COL=2:3] 'timing.dat' using 1:COL with linespoints title columnheader, \
  '' using 1:(full_2048_128_t1/$1) with lines linecolor 0 notitle, \
  '' using 1:(charm_2048_128_t1/$1) with lines linecolor 0 notitle

  #'' using 1:(full_1024_64_t1/$1) with lines title 'ideal - 1024x64', \
  #'' using 1:(full_1024_64_t2/$1) with lines title 'ideal cpuaffinity - 1024x64'
  #'' using 1:(charm_1024_64_t1/$1) with lines title 'charm - 1024x64'<commit_msg>Added curve to timings plot.<commit_after>#!/usr/bin/gnuplot

set terminal postscript color
set output 'timing.ps'

set title 'Futures based multiply'

set logscale xy

set xlabel '# cores'
set ylabel 'walltime [s]'

full_2048_128_t1  = 40.368775
full_1024_64_t1   = 22.848918
full_1024_64_t2   = 3.197707
charm_1024_64_t1  = 0.371398
charm_2048_128_t1 = 1.320883

set datafile missing '-'

set xrange [1:48]
set xtics ( "1" 1, "2" 2, "4" 4, "8" 8, "16" 16, "32" 32, "48" 48 )

plot for [COL=2:3] 'timing.dat' using 1:COL with linespoints title columnheader, \
  '' using 1:($2-$3) with linespoints title 'work', \
  '' using 1:(full_2048_128_t1/$1) with lines linecolor 0 notitle, \
  '' using 1:(charm_2048_128_t1/$1) with lines linecolor 0 notitle

  #'' using 1:(full_1024_64_t1/$1) with lines title 'ideal - 1024x64', \
  #'' using 1:(full_1024_64_t2/$1) with lines title 'ideal cpuaffinity - 1024x64'
  #'' using 1:(charm_1024_64_t1/$1) with lines title 'charm - 1024x64'
{'fraction_non_alphanumeric': 0.13315649867374005, 'fraction_numerical': 0.17877984084880635, 'mean_word_length': 4.357954545454546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3403200', 'n_tokens_mistral': 1014, 'n_tokens_neox': 784, 'n_words': 211}