Construct CallCompiledObjectMethodPosArgsConstant1

Performance Diagrams

Construct CallCompiledObjectMethodPosArgsConstant1 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)5367664288.95192307692307284.32718817453576CPython 3.1260350484242.31730769230768257.0Nuitka (main)59098310395.6826923076923262.1272407295919Nuitka (develop)59098310549.0480769230769262.1272407295919Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks Construct CallCompiledObjectMethodPosArgsConstant1 0010000000100000002000000020000000300000003000000040000000400000005000000050000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)5722145988.95192307692307257.0CPython 3.1150507418242.31730769230768285.995115696691Nuitka (main)50501909395.6826923076923286.0189067477694Nuitka (develop)50501909549.0480769230769286.0189067477694Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks Construct CallCompiledObjectMethodPosArgsConstant1 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)11621426288.11538461538461257.0CPython 3.1039651663240.03846153846155419.8009830586754Nuitka (main)39651761391.96153846153845419.80077467368653Nuitka (develop)39651761543.8846153846154419.80077467368653Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks Construct CallCompiledObjectMethodPosArgsConstant1 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)12465787288.11538461538461257.0CPython 2.739450040240.03846153846155425.91164464064553Nuitka (main)39450010391.96153846153845425.91170411110994Nuitka (develop)39450010543.8846153846154425.91170411110994Nuitka (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.