Skip to content

Commit 7c2c630

Browse files
authored
Merge pull request #6070 from IntersectMBO/fmaste/voting-no-jq
wb | enable cardano-profile
2 parents dbe4123 + a3ecaf5 commit 7c2c630

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+90407
-58987
lines changed

bench/cardano-profile/app/cardano-profile.hs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import qualified Cardano.Benchmarking.Profile.Types as Types
2323

2424
data Cli =
2525
Names
26+
| NamesNoEra
2627
| NamesCloudNoEra
2728
| All
2829
| ByName PrettyPrint String
@@ -43,6 +44,8 @@ main = do
4344
case cli of
4445
-- Print all profile names.
4546
Names -> BSL8.putStrLn $ Aeson.encode Profiles.names
47+
-- Print all profile names without the era suffix.
48+
NamesNoEra -> BSL8.putStrLn $ Aeson.encode Profiles.namesNoEra
4649
-- Print all cloud profile (-nomadperf) names.
4750
NamesCloudNoEra -> BSL8.putStrLn $ Aeson.encode Profiles.namesCloudNoEra
4851
-- Print a map with all profiles, with an optional overlay.
@@ -111,11 +114,17 @@ cliParser = OA.hsubparser $
111114
(pure Names)
112115
(OA.fullDesc <> OA.header "names" <> OA.progDesc "All profiles names")
113116
)
117+
<>
118+
OA.command "names-noera"
119+
(OA.info
120+
(pure NamesNoEra)
121+
(OA.fullDesc <> OA.header "names-noera" <> OA.progDesc "All profiles names (no era suffix)")
122+
)
114123
<>
115124
OA.command "names-cloud-noera"
116125
(OA.info
117126
(pure NamesCloudNoEra)
118-
(OA.fullDesc <> OA.header "names" <> OA.progDesc "All cloud profiles names (no era suffix)")
127+
(OA.fullDesc <> OA.header "names-cloud-noera" <> OA.progDesc "All cloud profiles names (no era suffix)")
119128
)
120129
<>
121130
OA.command "all"

bench/cardano-profile/cardano-profile.cabal

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ data-files: data/all-profiles.json
1717
data/ci-test-bage.json
1818
data/genesis/epoch-timeline.json
1919
data/genesis/overlays/*.json
20+
data/presets/*.json
2021
data/test/default-coay/*.json
2122
data/test/chainsync-early-alonzo-coay/*.json
2223
data/test/chainsync-early-byron-coay/*.json
@@ -55,14 +56,16 @@ library
5556
, Cardano.Benchmarking.Profile.Builtin.Plutuscall
5657
, Cardano.Benchmarking.Profile.Builtin.Scenario.Base
5758
, Cardano.Benchmarking.Profile.Builtin.Scenario.Chainsync
58-
, Cardano.Benchmarking.Profile.Builtin.Scenario.Latency
5959
, Cardano.Benchmarking.Profile.Builtin.Scenario.Idle
6060
, Cardano.Benchmarking.Profile.Builtin.Scenario.TracerOnly
6161
, Cardano.Benchmarking.Profile.Extra.Scaling
62+
, Cardano.Benchmarking.Profile.Extra.Voting
6263
, Cardano.Benchmarking.Profile.NodeSpecs
6364
, Cardano.Benchmarking.Profile.Primitives
6465
, Cardano.Benchmarking.Profile.Vocabulary
6566
, Cardano.Benchmarking.Profile.Types
67+
, Cardano.Benchmarking.Profile.Workload.Latency
68+
, Cardano.Benchmarking.Profile.Workload.Voting
6669
build-depends: base >=4.12 && <5
6770
, time
6871
, aeson

0 commit comments

Comments
 (0)