Skip to content

Conversation

@zherczeg
Copy link
Member

Several internal properties are removed and directly stored as
part of the object. Faster built-in and JS function processing.

Small performance improvement overall (0.5%) but controlflow-recursive which is call heavy is improved by 6%. Dynamic memory allocation is improved as well, 3d-cube 24K allocation is reduced to 16K. Overall 2.8% malloc improvement.

*/
static ecma_object_t *
ecma_builtin_make_function_object_for_routine (ecma_builtin_id_t builtin_id, /**< identifier of built-in object
that initially contains property
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it is not new code, but please fix the style of the comments. Write * on every line

@LaszloLango
Copy link
Contributor

LGTM

@dbatyai
Copy link
Member

dbatyai commented Jun 21, 2016

LGTM

Several internal properties are removed and directly stored as
part of the object. Faster built-in and JS function processing.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
@zherczeg zherczeg merged commit 1726bba into jerryscript-project:master Jun 21, 2016
@zherczeg zherczeg deleted the extended_object branch June 21, 2016 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants