Skip to content

Commit

Permalink
Slight code style change.
Browse files Browse the repository at this point in the history
  • Loading branch information
scofalik committed Oct 2, 2024
1 parent fdb5f1b commit 144d488
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/manual/performance/2024/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ import allDataSets from './data/generated/index.js';
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js';

// TEST CONFIG.
const TRIES_PER_DATA_SET = 10; // Number of tries per data set.
const DATA_SET_NAME = null; // Change to string with data set name if you want to check only specific data set.
const REMOVE_OUTLIERS = 1; // Change to `0` to keep all values in the results. Change to higher value to remove more outliers.
// Number of tries per data set.
const TRIES_PER_DATA_SET = 10;

// Change to string with data set name if you want to check only specific data set.
const DATA_SET_NAME = null;

// Change to `0` to keep all values in the results. Change to higher value to remove more outliers.
const REMOVE_OUTLIERS = 1;
// END OF TEST CONFIG.

// If `DATA_SET_NAME` is defined, keep only that data set.
const dataSets = DATA_SET_NAME ? { [ DATA_SET_NAME ]: allDataSets[ DATA_SET_NAME ] } : allDataSets;
Expand Down

0 comments on commit 144d488

Please sign in to comment.