Construct FunctionCreationGeneratorClosure

Performance Diagrams

Construct FunctionCreationGeneratorClosure 0020000002000000400000040000006000000600000080000008000000100000001000000012000000120000001400000014000000160000001600000018000000180000002000000020000000220000002200000024000000240000002600000026000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)2665262988.95192307692307257.0CPython 3.123315199242.31730769230768473.3778286331384Nuitka (main)3296780395.6826923076923473.5486042166364Nuitka (develop)3304299549.0480769230769473.4788902466966Nuitka (factory)Construct FunctionCreationGeneratorClosureTicks Construct FunctionCreationGeneratorClosure 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000180000001800000020000000200000002200000022000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)2260170288.95192307692307257.0CPython 3.112794196242.31730769230768473.56508272967847Nuitka (main)2798697395.6826923076923473.51587111074133Nuitka (develop)2798690549.0480769230769473.51594764514095Nuitka (factory)Construct FunctionCreationGeneratorClosureTicks Construct FunctionCreationGeneratorClosure 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000180000001800000020000000200000002200000022000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)2319969988.95192307692307257.0CPython 3.103051473242.31730769230768471.61212136018196Nuitka (main)3051473395.6826923076923471.61212136018196Nuitka (develop)3051508549.0480769230769471.61174855196316Nuitka (factory)Construct FunctionCreationGeneratorClosureTicks Construct FunctionCreationGeneratorClosure 0020000002000000400000040000006000000600000080000008000000100000001000000012000000120000001400000014000000160000001600000018000000180000002000000020000000220000002200000024000000240000002600000026000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)2754419088.95192307692307257.0CPython 2.72950792242.31730769230768477.64206664887337Nuitka (main)2950796395.6826923076923477.6420307624836Nuitka (develop)2950804549.0480769230769477.641958989704Nuitka (factory)Construct FunctionCreationGeneratorClosureTicks

Source Code with Construct

    return returningValue, x


for x in itertools.repeat(None, 50000):
    calledRepeatedly(x)

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 returningValue, x


for x in itertools.repeat(None, 50000):
    calledRepeatedly(x)

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.