Construct CallCompiledObjectMethodNoArgs

Performance Diagrams

Construct CallCompiledObjectMethodNoArgs 0010000000100000002000000020000000300000003000000040000000400000005000000050000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)4945309988.95192307692307293.053773324023CPython 3.1257900398242.31730769230768257.001421215616Nuitka (main)57900731395.6826923076923257.0Nuitka (develop)57900731549.0480769230769257.0Nuitka (factory)Construct CallCompiledObjectMethodNoArgsTicks Construct CallCompiledObjectMethodNoArgs 0010000000100000002000000020000000300000003000000040000000400000005000000050000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)5284829588.95192307692307257.0CPython 3.1148850295242.31730769230768275.6944026802058Nuitka (main)48845783395.6826923076923275.71550051534666Nuitka (develop)48845783549.0480769230769275.71550051534666Nuitka (factory)Construct CallCompiledObjectMethodNoArgsTicks Construct CallCompiledObjectMethodNoArgs 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)10914226188.11538461538461257.0CPython 3.1036200222240.03846153846155422.1523420622135Nuitka (main)36200490391.96153846153845422.1517352677192Nuitka (develop)36200490543.8846153846154422.1517352677192Nuitka (factory)Construct CallCompiledObjectMethodNoArgsTicks Construct CallCompiledObjectMethodNoArgs 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)11684939788.11538461538461257.0CPython 2.736150121240.03846153846155427.66440340229633Nuitka (main)36150084391.96153846153845427.66448165061826Nuitka (develop)36150084543.8846153846154427.66448165061826Nuitka (factory)Construct CallCompiledObjectMethodNoArgsTicks

Source Code with Construct

    inst.compiled_method()
    inst.compiled_method()
    inst.compiled_method()

    # 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.