Construct FunctionCreationGeneratorLocal

Performance Diagrams

Construct FunctionCreationGeneratorLocal 0040000004000000800000080000001200000012000000160000001600000020000000200000002400000024000000280000002800000032000000320000003600000036000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)3616969788.95192307692307257.0CPython 3.1212110825242.31730769230768421.3728839556579Nuitka (main)12115211395.6826923076923421.3429183168271Nuitka (develop)12115211549.0480769230769421.3429183168271Nuitka (factory)Construct FunctionCreationGeneratorLocalTicks Construct FunctionCreationGeneratorLocal 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000180000001800000020000000200000002200000022000000240000002400000026000000260000002800000028000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)2859576988.95192307692307257.0CPython 3.1110947975242.31730769230768409.5065264698102Nuitka (main)10952160395.6826923076923409.4703610537091Nuitka (develop)10952160549.0480769230769409.4703610537091Nuitka (factory)Construct FunctionCreationGeneratorLocalTicks Construct FunctionCreationGeneratorLocal 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000200000002000000022000000220000002400000024000000260000002600000028000000280000003000000030000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)3049535788.95192307692307257.0CPython 3.1010953324242.31730769230768415.3564672143874Nuitka (main)10953453395.6826923076923415.3554218787117Nuitka (develop)10953453549.0480769230769415.3554218787117Nuitka (factory)Construct FunctionCreationGeneratorLocalTicks Construct FunctionCreationGeneratorLocal 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000100000001000000011000000110000001200000012000000130000001300000014000000140000001500000015000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1502505188.95192307692307257.0CPython 2.78802493242.31730769230768359.34173670768496Nuitka (main)8801932395.6826923076923359.3509634138552Nuitka (develop)8801932549.0480769230769359.3509634138552Nuitka (factory)Construct FunctionCreationGeneratorLocalTicks

Source Code with Construct

    return yieldingValue


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_end

    return yieldingValue


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.