Skip to content

Remove dependency on real storage adapters and therefore benchmarks#272

Merged
boesing merged 1 commit into
laminas:4.0.xfrom
boesing:qa/remove-benchmarks
Aug 29, 2023
Merged

Remove dependency on real storage adapters and therefore benchmarks#272
boesing merged 1 commit into
laminas:4.0.xfrom
boesing:qa/remove-benchmarks

Conversation

@boesing
Copy link
Copy Markdown
Member

@boesing boesing commented Aug 26, 2023

Q A
QA yes

Description

In the past, we had several problems providing proper support, i.e. for APCu on new PHP versions, etc.
IMHO, there were too many integration tests inside this repository which was kinda helpful when developing within the PSR decorators but on the other side, introduced circular dependencies which was especially annoying when working on new major versions (like as we do right now).


This also removes benchmarks which are so available in each adapter repository and thus were redundant.
Even tho, we are now unable to directly see impact on performance when changing AbstractAdapter, the adapters themselves keep track on performance due to renovate updating locks permanently.

Longterm, the AbstractAdapter will most likely be removed in favor of cache backend specific features explicitly implemented in the storage adapters directly (which is already done in some of the adapters anyways). The StorageInterface will extend the PSR interfaces and requires the adapters to serve these interfaces in their own way. Therefore, removing benchmarks might be a good thing since the StorageInterface is meant to be feature complete.

With #130, some methods might be removed from the StorageInterface but extending that interface is not planned.

@boesing boesing added this to the 4.0.0 milestone Aug 26, 2023
This also removes benchmarks which are so available in each adapter repository and thus were redundant.
Even tho, we are now unable to directly see impact on performance when changing `AbstractAdapter`, the adapters themselves keep track on performance due to renovate updating locks permanently.

Longterm, the `AbstractAdapter` will most likely be removed in favor of cache backend specific features explicitly implemented. The `StorageInterface` will extend the PSR interfaces and requires the adapters to serve these interfaces in their own way. Therefore, removing benchmarks might be a good thing since the `StorageInterface` is meant to be feature complete.

With laminas#130, some methods might be removed from the `StorageInterface` but extending that interface is not planned.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
@boesing boesing force-pushed the qa/remove-benchmarks branch from f1d1c78 to 2fbcaa3 Compare August 26, 2023 20:38
@boesing
Copy link
Copy Markdown
Member Author

boesing commented Aug 26, 2023

@Ocramius I'd love to get your two cents on this. Esp. the benchmark and integration test stuff.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant