From 93e3aac6315c17a74e63f02053a3e8e2e6b21928 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 27 Aug 2019 16:54:17 +0200 Subject: improve benchmark code quality using pylint The description Benchmark member is replaced with class docstrings --- src/benchmarks/falsesharing.py | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'src/benchmarks/falsesharing.py') diff --git a/src/benchmarks/falsesharing.py b/src/benchmarks/falsesharing.py index 85d0a92..203aeb8 100644 --- a/src/benchmarks/falsesharing.py +++ b/src/benchmarks/falsesharing.py @@ -1,32 +1,36 @@ +"""Definition of the falsesahring benchmark""" + +import re + import matplotlib.pyplot as plt import numpy as np -import re from src.benchmark import Benchmark -time_re = re.compile("^Time elapsed = (?P