Ivan Enderlin
fbff1ee99a
bench: Bump codspeed-criterion-compat to 4.2.1.
2026-01-15 12:50:25 +01:00
Ivan Enderlin
ec5c31a19d
chore(bench): Add the room_list benchmark.
...
This patch adds the `room_list` benchmark. The goal is to measure
the time it takes to create a room list, to sort it, to filter and to
“display” it.
2025-09-18 15:38:16 +02:00
Damir Jelić
1e30916754
chore: Bump most of our deps
2025-09-01 16:33:10 +02:00
Damir Jelić
06a4476e7f
ci: Disable a benchmark that panics on the CI
2025-07-24 16:48:28 +02:00
Damir Jelić
d75d7973b2
ci: Enable benchmarks on the CI
2025-07-24 13:37:45 +02:00
Damir Jelić
cfe3adce48
chore: Bump criterion
2025-07-24 13:37:45 +02:00
Damir Jelić
b478ae65f7
tests: Remove pprof
2025-07-24 13:37:45 +02:00
Benjamin Bouvier
d6fe654814
bench: add a benchmark for measuring the time it takes to handle a sync update in the event cache
2025-07-23 11:21:09 +02:00
Jonas Platte
8aa6f97f7c
chore: Upgrade benchmarks to Rust Edition 2024
2025-07-15 08:39:27 +02:00
Jonas Platte
3aa356dcd6
chore: Use shorter syntax for workspace inheritance where possible
2025-05-23 10:23:36 +02:00
Jonas Platte
491f7cd529
chore: Clean up Cargo.toml formatting
2025-05-23 10:23:36 +02:00
Ivan Enderlin
7f17b4be7b
bench: Add a benchmark for the LinkedChunk with the EventCacheStore.
2025-03-05 13:57:08 +01:00
Benjamin Bouvier
0b7140c123
bench: add a benchmark to measure how long it takes to fill a timeline with lots of initial items
2025-02-14 09:02:38 +01:00
Benjamin Bouvier
dadd01a4ea
chore: fix benchmarks and use the MatrixMockServer in there too
2025-02-13 16:02:10 +01:00
Damir Jelić
22cb8a1878
chore: Bump the pprof version to fix a security issue
2024-12-05 12:08:25 +01:00
Damir Jelić
ca7f2ad3d0
Add a cargo-release config
2024-10-10 14:32:46 +02:00
Jorge Martín
6889430474
benchmark: add a benchmark to measure how loading pinned events performs
2024-08-02 13:11:24 +02:00
Ivan Enderlin
5ebfd7bc55
chore: Use tokio from the workspace.
2024-07-11 11:16:17 +02:00
Damir Jelić
a6c962b9b0
chore: Fix the compilation of the benchmarks outside of the workspace root
...
The workspace root enables some features which are required to compile
the benchmarks, but if you decide to just compile the benchmarks these
features won't be enabled since they aren't specified in the Cargo.toml
file of the benchmarks.
Let's define all the required features so compilation works in both
cases.
2024-06-19 12:06:53 +02:00
Timo Kösters
2f58cb1620
members: Simplify disambiguation logic when loading member list ( #3184 )
...
When all room members are loaded, we do not need an incremental member update. We know that parsing the /members response will only lead to more ambiguous names, not less. And because /members returns the complete list, we can directly use that list as the disambiguation map.
This improves the performance in my emulator from 56s to 9s and on a less performant device from 11mins to 11s (Tested experimentally on Matrix HQ using log statements in element android. If I have time, I will write a proper benchmark tomorrow.
See also https://github.com/matrix-org/matrix-rust-sdk/pull/3184#issuecomment-1986170631 for a more detailed benchmark run.
---
* members: Simplify disambiguation logic
* members: Prevent api misuse for receive_members
* members: Benchmark receive_all_members performance
* sdk: remove unused import
* sdk-base: rename `ApiMisuse` error to `InvalidReceiveMembersParameters`
* benchmarks: extract the member loading benchmark to `room_bench.rs`
* benchmarks: remove wiremock
* sdk-base: fix format
* sdk-base: try fixing tests
* benchmark: Provide some data to the store so the search and disambiguation happen
* benchmark: fix clippy
* benchmark: use a constant for `MEMBERS_IN_ROOM`
* sdk(style): reduce indent in `receive_all_members`
---------
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: Benjamin Bouvier <public@benj.me >
2024-03-12 10:15:30 +00:00
Jonas Platte
315e6c9d85
Use workspace dependencies for matrix-sdk-test
2024-01-05 12:58:54 +01:00
Jonas Platte
1c7bf820bf
Use workspace dependencies for crates/* dependencies
...
… except from examples (such that they remain copy-pastable).
2024-01-04 10:02:07 +01:00
Jonas Platte
24b879bbc0
Clean up Cargo manifest formattting
2024-01-04 10:02:07 +01:00
Jonas Platte
c4724c082e
Upgrade dependencies
2024-01-02 19:12:42 +01:00
Jonas Platte
b681f234a3
Upgrade criterion, pprof
2023-07-03 18:08:01 +02:00
Jonas Platte
3e2bc3a514
Drop matrix-sdk-sled
2023-06-01 12:06:35 +02:00
Benjamin Bouvier
3928259bb5
bench: add restore session benchmark
...
Signed-off-by: Benjamin Bouvier <public@benj.me >
2023-05-15 17:11:50 +02:00
Benjamin Bouvier
d6100915df
bench: add sled back to the crypto benchmarks
...
Signed-off-by: Benjamin Bouvier <public@benj.me >
2023-05-11 12:31:58 +02:00
Kévin Commaille
d7e47501e3
benchmarks: Replace sled with SQLite
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-05-08 12:11:10 +02:00
dependabot[bot]
fc8cd2e7e5
chore(deps): bump tokio from 1.24.1 to 1.24.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-04 08:27:50 +01:00
Jonas Platte
2e30e11101
refactor: Use workspace dependencies for more crates
2023-01-10 10:19:02 +01:00
dependabot[bot]
63c8696cac
chore(deps): bump tokio from 1.22.0 to 1.23.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.22.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-07 14:06:32 +01:00
Jonas Platte
826705c174
chore: Bump MSRV to 1.65
2022-11-15 14:57:46 +01:00
Jonas Platte
ce966ed6ce
chore: Upgrade criterion, pprof
2022-11-04 11:14:13 +01:00
Jonas Platte
f57b7782f4
refactor: Use workspace dependencies for ruma
2022-10-18 13:38:05 +02:00
Benjamin Kampmann
f1f1c1bba6
chore: Version bump
2022-09-28 17:07:37 +02:00
Jonas Platte
e46e13d1bf
chore: Upgrade Ruma
2022-09-13 08:32:59 +00:00
Jonas Platte
c4d46f233e
chore: Upgrade ruma
2022-09-02 15:03:00 +02:00
Jonas Platte
4be2f3aa04
chore: Upgrade ruma
2022-08-25 18:09:13 +02:00
Jonas Platte
9462061a5a
chore: Upgrade ruma
2022-08-23 14:28:21 +02:00
Benjamin Kampmann
549c829000
chore: Update ruma
2022-08-18 15:52:08 +02:00
Jonas Platte
3581d83389
chore: Upgrade Ruma
2022-08-17 10:15:05 +02:00
Jonas Platte
158bd24b40
chore: Bump pprof dependency
2022-08-11 13:09:09 +02:00
Benjamin Kampmann
c070b96a68
Merge remote-tracking branch 'origin/main' into gnunicorn/issue833
2022-07-21 17:37:49 +02:00
Kévin Commaille
a6bd7fc82f
chore: Update Ruma
2022-07-20 12:18:06 +00:00
Benjamin Kampmann
9502d32941
Merge remote-tracking branch 'origin/main' into gnunicorn/issue833
2022-07-19 12:03:47 +02:00
Johannes Becker
aa8206d6c8
chore: Bump ruma
2022-07-18 19:32:16 +02:00
Johannes Becker
f937d82336
chore: Bump ruma
2022-07-18 16:46:34 +00:00
Benjamin Kampmann
e3febd6f1f
refactore(test): move testing out of regular build environment
2022-07-18 14:37:51 +02:00
Jonas Platte
f20d1c3d76
chore: Upgrade ruma
2022-07-01 16:16:29 +02:00