Skip to content

[Merged by Bors] - Wider ECS Benchmarks#5123

Closed
james7132 wants to merge 2 commits intobevyengine:mainfrom
james7132:wide-benchmarks
Closed

[Merged by Bors] - Wider ECS Benchmarks#5123
james7132 wants to merge 2 commits intobevyengine:mainfrom
james7132:wide-benchmarks

Conversation

@james7132
Copy link
Member

@james7132 james7132 commented Jun 28, 2022

Objective

As a part of evaluating #4800, at the behest of @cart, it was noted that the ECS microbenchmarks all focus on singular component queries, whereas in reality most systems will have wider queries with multiple components in each.

Solution

Use const generics to add wider variants of existing benchmarks.

@james7132 james7132 added A-ECS Entities, components, systems, and events C-Performance A change motivated by improving speed, memory usage or compile times A-Diagnostics Logging, crash handling, error reporting and performance analysis labels Jun 28, 2022
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

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

These should exist, and I'm content with this code.

I would like to see more abstraction to reduce duplication of these benchmarks in general, but this isn't the place for it.

@mockersf mockersf added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Jun 29, 2022
@alice-i-cecile
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Jun 29, 2022
# Objective
As a part of evaluating #4800, at the behest of @cart, it was noted that the ECS microbenchmarks all focus on singular component queries, whereas in reality most systems will have wider queries with multiple components in each.

## Solution
Use const generics to add wider variants of existing benchmarks.
@bors
Copy link
Contributor

bors bot commented Jun 29, 2022

Canceled.

@james7132
Copy link
Member Author

Sorry, found out late that there was a mixed duplicate benchmark ID which caused benches to panic. The only thing that was changed was a benchmark name.

@alice-i-cecile
Copy link
Member

bors retry

bors bot pushed a commit that referenced this pull request Jun 29, 2022
# Objective
As a part of evaluating #4800, at the behest of @cart, it was noted that the ECS microbenchmarks all focus on singular component queries, whereas in reality most systems will have wider queries with multiple components in each.

## Solution
Use const generics to add wider variants of existing benchmarks.
@bors bors bot changed the title Wider ECS Benchmarks [Merged by Bors] - Wider ECS Benchmarks Jun 29, 2022
@bors bors bot closed this Jun 29, 2022
james7132 added a commit to james7132/bevy that referenced this pull request Jul 2, 2022
# Objective
As a part of evaluating bevyengine#4800, at the behest of @cart, it was noted that the ECS microbenchmarks all focus on singular component queries, whereas in reality most systems will have wider queries with multiple components in each.

## Solution
Use const generics to add wider variants of existing benchmarks.
inodentry pushed a commit to IyesGames/bevy that referenced this pull request Aug 8, 2022
# Objective
As a part of evaluating bevyengine#4800, at the behest of @cart, it was noted that the ECS microbenchmarks all focus on singular component queries, whereas in reality most systems will have wider queries with multiple components in each.

## Solution
Use const generics to add wider variants of existing benchmarks.
james7132 added a commit to james7132/bevy that referenced this pull request Oct 28, 2022
# Objective
As a part of evaluating bevyengine#4800, at the behest of @cart, it was noted that the ECS microbenchmarks all focus on singular component queries, whereas in reality most systems will have wider queries with multiple components in each.

## Solution
Use const generics to add wider variants of existing benchmarks.
@james7132 james7132 deleted the wide-benchmarks branch December 12, 2022 06:45
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective
As a part of evaluating bevyengine#4800, at the behest of @cart, it was noted that the ECS microbenchmarks all focus on singular component queries, whereas in reality most systems will have wider queries with multiple components in each.

## Solution
Use const generics to add wider variants of existing benchmarks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Diagnostics Logging, crash handling, error reporting and performance analysis A-ECS Entities, components, systems, and events C-Performance A change motivated by improving speed, memory usage or compile times S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants