Construct OperationAttributeLookup

Performance Diagrams

Construct OperationAttributeLookup 0040000004000000800000080000001200000012000000160000001600000020000000200000002400000024000000280000002800000032000000320000003600000036000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)3620270388.95192307692307257.00000000000006CPython 3.1226150000242.31730769230768325.61856608522385Nuitka (main)26150000395.6826923076923325.61856608522385Nuitka (develop)26150000549.0480769230769325.61856608522385Nuitka (factory)Construct OperationAttributeLookupTicks Construct OperationAttributeLookup 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000200000002000000022000000220000002400000024000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)2590093188.95192307692307257.0CPython 3.1121149732242.31730769230768302.33019945380465Nuitka (main)21149869395.6826923076923302.32889236535704Nuitka (develop)21149778549.0480769230769302.32976057739154Nuitka (factory)Construct OperationAttributeLookupTicks Construct OperationAttributeLookup 0020000002000000400000040000006000000600000080000008000000100000001000000012000000120000001400000014000000160000001600000018000000180000002000000020000000220000002200000024000000240000002600000026000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)2692117988.95192307692307257.0CPython 3.1018500000242.31730769230768334.29984216144476Nuitka (main)18500000395.6826923076923334.29984216144476Nuitka (develop)18500000549.0480769230769334.29984216144476Nuitka (factory)Construct OperationAttributeLookupTicks Construct OperationAttributeLookup 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)689147289.78846153846155257.0CPython 3.85100084244.59615384615387321.23584607401506Nuitka (main)5100029399.4038461538462321.2378182718494Nuitka (develop)5100050554.2115384615385321.2370652508581Nuitka (factory)Construct OperationAttributeLookupTicks Construct OperationAttributeLookup 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000110000001100000012000000120000001300000013000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1356183788.95192307692307257.0CPython 2.78950120242.31730769230768341.0318476171265Nuitka (main)8950120395.6826923076923341.0318476171265Nuitka (develop)8950120549.0480769230769341.0318476171265Nuitka (factory)Construct OperationAttributeLookupTicks

Source Code with Construct

for x in itertools.repeat(None, 50000):
    # construct_begin
    calledRepeatedly(True)
    # construct_alternative




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):
    # construct_begin

    # construct_alternative
    calledRepeatedly(False)
    # construct_end


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.