Construct CallCompiledClassCreationPosArgsConstant6

Performance Diagrams

Construct CallCompiledClassCreationPosArgsConstant6 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)7731047688.95192307692307264.51109722051234CPython 3.1279733999242.31730769230768257.0Nuitka (main)79688344395.6826923076923257.14149613748356Nuitka (develop)79689061549.0480769230769257.13927397713803Nuitka (factory)Construct CallCompiledClassCreationPosArgsConstant6Ticks Construct CallCompiledClassCreationPosArgsConstant6 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)6918369288.95192307692307257.0CPython 3.1162040242242.31730769230768282.5154985690959Nuitka (main)62211732395.6826923076923281.9029580110162Nuitka (develop)62211574549.0480769230769281.903522367003Nuitka (factory)Construct CallCompiledClassCreationPosArgsConstant6Ticks Construct CallCompiledClassCreationPosArgsConstant6 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)13970792688.11538461538461257.00000000000006CPython 3.1086460509240.03846153846155351.1840331358922Nuitka (main)86465258391.96153846153845351.1756331045186Nuitka (develop)86465267543.8846153846154351.1756171853183Nuitka (factory)Construct CallCompiledClassCreationPosArgsConstant6Ticks Construct CallCompiledClassCreationPosArgsConstant6 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000140000000140000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)14128639588.11538461538461257.0CPython 2.786882229240.03846153846155352.1549963870848Nuitka (main)86884188391.96153846153845352.1515700201054Nuitka (develop)86884188543.8846153846154352.1515700201054Nuitka (factory)Construct CallCompiledClassCreationPosArgsConstant6Ticks

Source Code with Construct

    # Avoid module variable access speed to play a role
    local_C = C

    # This is supposed to make a call to a compiled method, which is
    # being optimized separately.
    # construct_begin
    x1 = local_C("some", "random", "values", "to", "check", "call")
    x2 = local_C("some", "other", "values", "to", "check", "call")
    x3 = local_C("some", "new", "values", "to", "check", "call")
    # construct_end


for x in itertools.repeat(None, 10000):
    calledRepeatedly()

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.

Source Code without Construct

    # Avoid module variable access speed to play a role
    local_C = C

    # This is supposed to make a call to a compiled method, which is
    # being optimized separately.
    # construct_begin






for x in itertools.repeat(None, 10000):
    calledRepeatedly()

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.