Skip to content

[DRAFT-WIP] Script to generate benchmark compatible Queries#6975

Draft
MacondoExpress wants to merge 8 commits intodevfrom
benchmark-tools
Draft

[DRAFT-WIP] Script to generate benchmark compatible Queries#6975
MacondoExpress wants to merge 8 commits intodevfrom
benchmark-tools

Conversation

@MacondoExpress
Copy link
Contributor

As title, this PR contains the script required to generate Cypher Queries and Parameter in the format usable by the internal benchmark tool.
To use:

  • move to package/graphql
  • run yarn
  • run yarn build-benchmark-workflow

You should see a folder been generated with all the details useful to be executed in the internal benchmark tool.

Left the PR in Draft, as this tool was build and used last time long time ago.

@changeset-bot
Copy link

changeset-bot bot commented Jan 14, 2026

⚠️ No Changeset found

Latest commit: 74da2c2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@neo4j-team-graphql
Copy link
Collaborator

Performance Report

No Performance Changes

Show Full Table
name dbHits old dbHits time (ms) old time (ms) maxRows
aggregations.TopLevelAggregateWithMultipleFields 7936 7936 60 85 1134
aggregations.NestedAggregation 15407 15407 61 96 2174
aggregations.AggregationWithWhere 10833 10833 45 71 2174
aggregations.AggregationWhereWithinNestedRelationships 20097917 20097917 1969 2109 2008534
aggregations.AggregationWhereWithinNestedConnections 20097917 20097917 1981 2008 2008534
aggregations.InterfacesAggregations 8324 8324 96 117 2080
aggregations.InterfacesAggregationsWithTwoFields 13526 13526 133 243 2080
connections.Connection 12951 12951 66 79 2174
connections.NestedConnection 37705 37705 124 140 4516
connections.totalCount 1 1 18 20 1
cypher-directive-mutation.TopLevelMutationDirective 1135 1135 27 34 1134
cypher-directive.TopLevelSortWithCypher 12961 12961 42 49 2174
cypher-directive.TopLevelConnectionSortWithCypher 12961 12961 60 78 2174
cypher-directive.TopLevelSortWithCypherWithNested 13096 13096 62 91 2174
cypher-directive.TopLevelConnectionSortWithCypherWithNested 13096 13096 102 129 2174
cypher-directive.TopLevelSortWithExpensiveCypher 13735 13725 181 158 2174
cypher-directive.TopLevelConnectionSortWithExpensiveCypher 13266 13266 100 152 2174
fulltext.Fulltext 80 80 45 63 16
fulltext.FulltextWithNestedQuery 516 516 63 71 84
1262.NestedConnectionWhere 8703 8703 57 80 2174
187.QueryWhere 8564 8564 37 56 2154
2871.NestedRelationshipFilter 19789 19632 57 81 4446
batch-create.BatchCreate 3600 3600 88 105 600
connect.createAndConnect 4410 4410 51 72 1134
create.SimpleMutation 6 6 31 36 1
delete.SimpleDelete 19401 19401 655 636 1040
delete.NestedDeleteInUpdate 14688 14688 107 159 2040
update.NestedUpdate 10129 10129 64 82 2002
query.SimpleQuery 3121 3121 19 28 1040
query.SimpleQueryWithRelationship 15031 15031 40 54 2174
query.SimpleQueryWithNestedWhere 8734 8713 49 66 2161
query.Nested 3988 3988 80 83 1040
query.OrFilterOnRelationships 37423 36724 165 222 2171
query.OrFilterOnRelationshipsAndNested 27424 26759 201 226 2171
query.QueryWithNestedIn 14951 14480 57 63 2117
query.DeeplyNestedConnectionWhere 8883 8702 77 108 2174
query.DeeplyNestedWithRelationshipFilters 17693 17357 125 165 1664
query.NestedWithRelationshipSingleFilters 3808 3808 154 230 1134
sorting.SortMultipleTypes 3436 3436 80 92 1040
sorting.SortMultipleTypesWithCypherWithCypher 13321 13321 100 112 2174
sorting.SortOnNestedFields 12951 12951 47 51 2174
sorting.SortDeeplyNestedFields 39785 39785 113 111 4516
sorting.ConnectionWithSort 3271 3271 71 73 1040
unions.SimpleUnionQuery 321 321 54 62 35
unions.SimpleUnionQueryWithMissingFields 293 293 58 67 35
unions.NestedUnion 309975 309975 251 268 33033
unions.NestedUnionWithMissingFields 283949 283949 249 271 33033

Old Schema Generation: 22.384s
Schema Generation: 22.018s
Old Subgraph Schema Generation: 25.786s
Subgraph Schema Generation: 25.734s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants