feat: updated some graphs, todo: legends are not yet complete
This commit is contained in:
parent
46872274f4
commit
08f6dc2927
1 changed files with 5 additions and 3 deletions
|
|
@ -15,11 +15,13 @@ if __name__ == "__main__":
|
|||
# execution time
|
||||
plt.figure()
|
||||
model_df["original_file_size_mb"] = model_df["original_file_size"] / 1e6
|
||||
model_df["compression_time_s"] = model_df["compression_time"] / 1e9
|
||||
model_df["decompression_time_s"] = model_df["decompression_time"] / 1e9
|
||||
# compression
|
||||
sns.lineplot(
|
||||
data=model_df,
|
||||
x="original_file_size_mb",
|
||||
y="compression_time",
|
||||
y="compression_time_s",
|
||||
hue="context_length",
|
||||
palette="Set1",
|
||||
markers=True,
|
||||
|
|
@ -30,7 +32,7 @@ if __name__ == "__main__":
|
|||
sns.lineplot(
|
||||
data=model_df,
|
||||
x="original_file_size_mb",
|
||||
y="decompression_time",
|
||||
y="decompression_time_s",
|
||||
hue="context_length",
|
||||
palette="Set1",
|
||||
markers=True,
|
||||
|
|
|
|||
Reference in a new issue