Construct FunctionCreationLocal

Performance Diagrams

Construct FunctionCreationLocal 0040000004000000800000080000001200000012000000160000001600000020000000200000002400000024000000280000002800000032000000320000003600000036000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)3614636988.95192307692307257.00000000000006CPython 3.1212538115242.31730769230768418.3983071801124Nuitka (main)12545979395.6826923076923418.34454478465256Nuitka (develop)12545979549.0480769230769418.34454478465256Nuitka (factory)Construct FunctionCreationLocalTicks Construct FunctionCreationLocal 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000180000001800000020000000200000002200000022000000240000002400000026000000260000002800000028000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)2858146988.95192307692307257.0CPython 3.1111406083242.31730769230768405.49838954420755Nuitka (main)11406062395.6826923076923405.4985711102102Nuitka (develop)11406117549.0480769230769405.4980955802032Nuitka (factory)Construct FunctionCreationLocalTicks Construct FunctionCreationLocal 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000200000002000000022000000220000002400000024000000260000002600000028000000280000003000000030000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)3043330188.95192307692307257.0CPython 3.1011054339242.31730769230768414.3552487151139Nuitka (main)11054347395.6826923076923414.3551837559076Nuitka (develop)11054419549.0480769230769414.35459912305123Nuitka (factory)Construct FunctionCreationLocalTicks Construct FunctionCreationLocal 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000100000001000000011000000110000001200000012000000130000001300000014000000140000001500000015000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1501853788.95192307692307257.0CPython 2.78501817242.31730769230768364.22627438549904Nuitka (main)8501817395.6826923076923364.22627438549904Nuitka (develop)8501817549.0480769230769364.22627438549904Nuitka (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.