Construct CallCompiledObjectMethodPosArgsConstant1

Performance Diagrams

Construct CallCompiledObjectMethodPosArgsConstant1 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)5367661188.95192307692307320.59720966404143CPython 3.1272260759242.31730769230768257.05875482408044Nuitka (main)72277944395.6826923076923257.0Nuitka (develop)72229096549.0480769230769257.1670093480757Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks Construct CallCompiledObjectMethodPosArgsConstant1 0010000000100000002000000020000000300000003000000040000000400000005000000050000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)5722185588.95192307692307262.18851623571834CPython 3.1158449071242.31730769230768257.0Nuitka (main)57701931395.6826923076923260.158814764764Nuitka (develop)57701798549.0480769230769260.1593770721812Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks Construct CallCompiledObjectMethodPosArgsConstant1 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)11621437988.11538461538461257.0CPython 3.1039953453240.03846153846155419.1593491422898Nuitka (main)40002114391.96153846153845419.0558775939819Nuitka (develop)40002891543.8846153846154419.0542254003764Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks Construct CallCompiledObjectMethodPosArgsConstant1 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)12465799188.11538461538461257.0CPython 2.739903179240.03846153846155425.0134405935085Nuitka (main)39909453391.96153846153845425.0010033489272Nuitka (develop)39909426543.8846153846154425.0010568722941Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks

Source Code with Construct

    inst.compiled_method("some")
    inst.compiled_method("some")
    inst.compiled_method("some")

    # construct_alternative




for x in itertools.repeat(None, 50000):
    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

    # construct_alternative
    pass
    # construct_end


for x in itertools.repeat(None, 50000):
    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.