Skip to content

Add benchmark suite for serialization #4676

@AbhiPrasad

Description

@AbhiPrasad

Problem Statement

Ref: #4579

We have various functions for normalization and serialization in the SDK. This is primarily through

export function walk(key: string, value: any, depth: number = +Infinity, memo: MemoFunc = memoBuilder()): any {
.

We should increase the test coverage (perhaps by fuzzing?) against this. We should then better instrument the performance of this.

Solution Brainstorm

Use something like https://benchmarkjs.com/?

Perhaps we can run https://gitlab.com/gitlab-org/security-products/analyzers/fuzzers/jsfuzz in CI?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions