Skip to content

Commit

Permalink
chore: reword
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxuanzhangsfdx committed Jun 28, 2024
1 parent c0d1b41 commit e055f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registry/variants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const loadPreset = (preset: string): MetadataRegistry => {
const rawPreset = presetsJsonMap.get(preset);
return JSON.parse(rawPreset as string) as MetadataRegistry;
} catch (e) {
throw new Error(`Failed to load preset ${preset}. The value does not exist.`);
throw new Error(`Failed to load preset ${preset}. The value is invalid.`);
}
};

Expand Down

2 comments on commit e055f75

@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: e055f75 Previous: c0d1b41 Ratio
eda-componentSetCreate-linux 183 ms 180 ms 1.02
eda-sourceToMdapi-linux 2010 ms 1968 ms 1.02
eda-sourceToZip-linux 1790 ms 1779 ms 1.01
eda-mdapiToSource-linux 2797 ms 2821 ms 0.99
lotsOfClasses-componentSetCreate-linux 417 ms 357 ms 1.17
lotsOfClasses-sourceToMdapi-linux 3727 ms 3697 ms 1.01
lotsOfClasses-sourceToZip-linux 3138 ms 3051 ms 1.03
lotsOfClasses-mdapiToSource-linux 3531 ms 3496 ms 1.01
lotsOfClassesOneDir-componentSetCreate-linux 612 ms 625 ms 0.98
lotsOfClassesOneDir-sourceToMdapi-linux 6554 ms 6528 ms 1.00
lotsOfClassesOneDir-sourceToZip-linux 5627 ms 5551 ms 1.01
lotsOfClassesOneDir-mdapiToSource-linux 6261 ms 6287 ms 1.00

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: e055f75 Previous: c0d1b41 Ratio
eda-componentSetCreate-win32 435 ms 450 ms 0.97
eda-sourceToMdapi-win32 3816 ms 3514 ms 1.09
eda-sourceToZip-win32 2905 ms 2607 ms 1.11
eda-mdapiToSource-win32 6182 ms 5556 ms 1.11
lotsOfClasses-componentSetCreate-win32 897 ms 852 ms 1.05
lotsOfClasses-sourceToMdapi-win32 7491 ms 7446 ms 1.01
lotsOfClasses-sourceToZip-win32 4946 ms 4661 ms 1.06
lotsOfClasses-mdapiToSource-win32 7683 ms 7525 ms 1.02
lotsOfClassesOneDir-componentSetCreate-win32 1494 ms 1482 ms 1.01
lotsOfClassesOneDir-sourceToMdapi-win32 13562 ms 13542 ms 1.00
lotsOfClassesOneDir-sourceToZip-win32 8874 ms 8693 ms 1.02
lotsOfClassesOneDir-mdapiToSource-win32 13605 ms 13523 ms 1.01

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

Please sign in to comment.