Skip to content

Slowdown in hashset performance regression #4132

@zhassan-aws

Description

@zhassan-aws

#4127 turned on some target features on some platforms (e.g. sse and sse2 on x86_64 and neon on aarch64). One of the regressions suffered a significant slowdown as a result of this change:

hashset/check_contains_str | 767.537 | 33.0624 | +2221.480%

fn check_contains_str() {
let set = HashSet::from(["s"]);
assert!(set.contains(&"s"));
}

We need to investigate if this slowdown can be addressed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [C] BugThis is a bug. Something isn't working.[E] PerformanceTrack performance improvement (Time / Memory / CPU)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions