Skip to content

perf: excess work in lj_BC_FNEW, lj_BC_TDUP, lj_bc_TNEW #470

@Satbek

Description

@Satbek

code for cpu profile here

Image

a lot of work in in lj_BC_FNEW, lj_BC_TDUP, lj_bc_TNEW

looks like this code causes it:

crud/crud/common/schema.lua

Lines 254 to 261 in a35f0a8

function schema.wrap_box_space_func_result(space, box_space_func_name, box_space_func_args, opts)
dev_checks('table', 'string', 'table', 'table')
local function func(space, box_space_func_name, box_space_func_args)
return space[box_space_func_name](space, unpack(box_space_func_args))
end
return schema.wrap_func_result(space, func, {space, box_space_func_name, box_space_func_args}, opts)
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions