Skip to content

Big cost of preliminary implode params for parseResponse error #264

@alx-xc

Description

@alx-xc

What steps will reproduce the problem?

mget with big list of keys

What's expected?

Expected: normal execution time, like with older versions (like 2.0.7)

What do you get instead?

Instead: excecution time increased from 2s to 30+s
when yii-redis updated from 2.0.7 to 2.0.13

Additional info

implode called for every call of parseResponse
we have a lot of executions for Multi-bulk replies

photo_2023-10-18 19 34 41

Q A
Yii vesion 2.0.13 (version of yii2-redis)
PHP version 7.4.3
Operating system ubuntu

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions