performance metrics: Upload benchmark results to local index for locally-run builds. (#2816)
Signed-off-by: Cynthia Lin <cyntlin@amazon.com>
This commit is contained in:
@@ -10,6 +10,7 @@ import json
|
||||
from pathlib import Path
|
||||
import time
|
||||
import subprocess
|
||||
import os
|
||||
|
||||
from ly_test_tools.mars.filebeat_client import FilebeatClient
|
||||
|
||||
@@ -21,7 +22,7 @@ class BenchmarkDataAggregator(object):
|
||||
def __init__(self, workspace, logger, test_suite):
|
||||
self.build_dir = workspace.paths.build_directory()
|
||||
self.results_dir = Path(workspace.paths.project(), 'user/Scripts/PerformanceBenchmarks')
|
||||
self.test_suite = test_suite
|
||||
self.test_suite = test_suite if os.environ.get('CI') else 'local'
|
||||
self.filebeat_client = FilebeatClient(logger)
|
||||
|
||||
def _update_pass(self, pass_stats, entry):
|
||||
|
||||
Reference in New Issue
Block a user