Construct OperationAttributeLookup

Performance Diagrams

Construct OperationAttributeLookup 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000200000002000000022000000220000002400000024000000260000002600000028000000280000003000000030000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)3080142688.95192307692307257.0CPython 3.1230100000242.31730769230768262.62743931950524Nuitka (main)30100000395.6826923076923262.62743931950524Nuitka (develop)30100000549.0480769230769262.62743931950524Nuitka (factory)Construct OperationAttributeLookupTicks Construct OperationAttributeLookup 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000200000002000000022000000220000002400000024000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)2585157388.95192307692307257.0CPython 3.1122150000242.31730769230768292.3833647019051Nuitka (main)22150000395.6826923076923292.3833647019051Nuitka (develop)22150000549.0480769230769292.3833647019051Nuitka (factory)Construct OperationAttributeLookupTicks Construct OperationAttributeLookup 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000180000001800000020000000200000002200000022000000240000002400000026000000260000002800000028000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)2871497188.95192307692307257.0CPython 3.1019350000242.31730769230768337.59309586546067Nuitka (main)19350000395.6826923076923337.59309586546067Nuitka (develop)19350000549.0480769230769337.59309586546067Nuitka (factory)Construct OperationAttributeLookupTicks Construct OperationAttributeLookup 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000110000001100000012000000120000001300000013000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1371171988.95192307692307257.0CPython 2.79400123242.31730769230768334.7044587805624Nuitka (main)9400123395.6826923076923334.7044587805624Nuitka (develop)9400123549.0480769230769334.7044587805624Nuitka (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.