Construct FunctionCreationLocal

Performance Diagrams

Construct FunctionCreationLocal 0040000004000000800000080000001200000012000000160000001600000020000000200000002400000024000000280000002800000032000000320000003600000036000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)3614674788.95192307692307257.0CPython 3.1211723287242.31730769230768423.9697334462341Nuitka (main)11729555395.6826923076923423.92688258524873Nuitka (develop)11729555549.0480769230769423.92688258524873Nuitka (factory)Construct FunctionCreationLocalTicks Construct FunctionCreationLocal 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000180000001800000020000000200000002200000022000000240000002400000026000000260000002800000028000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)2858134288.95192307692307257.0CPython 3.1110553831242.31730769230768412.8665549862241Nuitka (main)10546390395.6826923076923412.9308901590415Nuitka (develop)10546390549.0480769230769412.9308901590415Nuitka (factory)Construct FunctionCreationLocalTicks Construct FunctionCreationLocal 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000200000002000000022000000220000002400000024000000260000002600000028000000280000003000000030000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)3048299588.95192307692307257.0CPython 3.1010554130242.31730769230768418.55660358908557Nuitka (main)10553969395.6826923076923418.55790876191793Nuitka (develop)10553969549.0480769230769418.55790876191793Nuitka (factory)Construct FunctionCreationLocalTicks Construct FunctionCreationLocal 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000100000001000000011000000110000001200000012000000130000001300000014000000140000001500000015000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1501844288.95192307692307257.0CPython 2.78351158242.31730769230768366.70435215583615Nuitka (main)8351396395.6826923076923366.70043607309344Nuitka (develop)8351396549.0480769230769366.70043607309344Nuitka (factory)Construct FunctionCreationLocalTicks

Source Code with Construct

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

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.