Skip to content

Commit

Permalink
test: filter decompPS2 preset, not valid as registry entry
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Sep 5, 2024
1 parent 945fdde commit 7a95dcd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/registry/presetTesting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ const registriesFromPresets = fs
.map((file) => ({
name: file.name,
registry: JSON.parse(fs.readFileSync(path.join(file.path, file.name), 'utf-8')) as MetadataRegistry,
}));
})) /*
decomposedPermissionSetBeta2 has an invalid registry configured.
this is because multiple children will map to the .objectSettings suffix, and currently, the registry only supports 1:1 suffix mapping
TODO: W-10113922
*/
.filter((preset) => !preset.name.endsWith('decomposePermissionSetBeta2.json'));

const allMerged = registriesFromPresets.reduce<MetadataRegistry>(
(acc, { registry }) => firstLevelMerge(acc, registry),
Expand Down

2 comments on commit 7a95dcd

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 7a95dcd Previous: 36c5e1c Ratio
eda-componentSetCreate-linux 235 ms 244 ms 0.96
eda-sourceToMdapi-linux 2352 ms 2207 ms 1.07
eda-sourceToZip-linux 1835 ms 1828 ms 1.00
eda-mdapiToSource-linux 2834 ms 2939 ms 0.96
lotsOfClasses-componentSetCreate-linux 450 ms 450 ms 1
lotsOfClasses-sourceToMdapi-linux 3679 ms 3639 ms 1.01
lotsOfClasses-sourceToZip-linux 3031 ms 3142 ms 0.96
lotsOfClasses-mdapiToSource-linux 3470 ms 3559 ms 0.97
lotsOfClassesOneDir-componentSetCreate-linux 748 ms 753 ms 0.99
lotsOfClassesOneDir-sourceToMdapi-linux 6348 ms 6469 ms 0.98
lotsOfClassesOneDir-sourceToZip-linux 5573 ms 5596 ms 1.00
lotsOfClassesOneDir-mdapiToSource-linux 6385 ms 6463 ms 0.99

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 7a95dcd Previous: 36c5e1c Ratio
eda-componentSetCreate-win32 684 ms 703 ms 0.97
eda-sourceToMdapi-win32 4681 ms 4775 ms 0.98
eda-sourceToZip-win32 3159 ms 3253 ms 0.97
eda-mdapiToSource-win32 6283 ms 6207 ms 1.01
lotsOfClasses-componentSetCreate-win32 1353 ms 1288 ms 1.05
lotsOfClasses-sourceToMdapi-win32 8429 ms 8241 ms 1.02
lotsOfClasses-sourceToZip-win32 5274 ms 5498 ms 0.96
lotsOfClasses-mdapiToSource-win32 8549 ms 8592 ms 0.99
lotsOfClassesOneDir-componentSetCreate-win32 2351 ms 2408 ms 0.98
lotsOfClassesOneDir-sourceToMdapi-win32 15110 ms 15385 ms 0.98
lotsOfClassesOneDir-sourceToZip-win32 9965 ms 10096 ms 0.99
lotsOfClassesOneDir-mdapiToSource-win32 15200 ms 14276 ms 1.06

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.