6d14ed3ffe70d30e10ceef52b17ffcb54a405b74,w3af/core/controllers/profiling/scan_log_analysis.py,,show_worker_pool_size,#,322

Before Change


    fig.y_label = "Worker pool size"
    fig.x_label = "Time"
    fig.color_mode = "byte"
    fig.set_x_limits(min_=worker_pool_timestamps[0], max_=last_timestamp)
    fig.set_y_limits(min_=0, max_=None)

    fig.plot(worker_pool_timestamps,

After Change


            worker_pool_sizes.append(int(match.group(1)))
            worker_pool_timestamps.append(get_line_epoch(line))

    first_timestamp = get_first_timestamp(scan)
    last_timestamp = get_last_timestamp(scan)
    spent_time_epoch = last_timestamp - first_timestamp
    worker_pool_timestamps = [ts - first_timestamp for ts in worker_pool_timestamps]

    if not worker_pool_sizes:
        print("No worker pool size data found")
        return
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 12

Instances


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_worker_pool_size


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_worker_pool_size


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_queue_size_grep


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_connection_pool_wait


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_queue_size_crawl


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_timeout


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_active_threads


Project Name: andresriancho/w3af
Commit Name: 6d14ed3ffe70d30e10ceef52b17ffcb54a405b74
Time: 2018-02-09
Author: andres.riancho@gmail.com
File Name: w3af/core/controllers/profiling/scan_log_analysis.py
Class Name:
Method Name: show_queue_size_audit