Skip to content

C code sin implementaion is slower. #13

@jagannathhari

Description

@jagannathhari

Flat profile:

Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
47.88 5.30 5.30 __branred
21.79 7.71 2.41 1 2.41 2.41 main
17.32 9.62 1.92 __sin_fma
5.33 10.21 0.59 malloc
3.44 10.59 0.38 _int_malloc
2.98 10.92 0.33 _int_free
1.18 11.05 0.13 free
0.09 11.06 0.01 sysmalloc
0.00 11.06 0.00 2 0.00 0.00 new_node

I first thought is it due to malloc but after profiling it is due to sin function.

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