Construct RichComparisonConditionInts

Performance Diagrams

Construct RichComparisonConditionInts 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)1127342588.95192307692307257.0CPython 3.126174845242.31730769230768368.76173680068905Nuitka (main)6174845395.6826923076923368.76173680068905Nuitka (develop)6174845549.0480769230769368.76173680068905Nuitka (factory)Construct RichComparisonConditionIntsTicks Construct RichComparisonConditionInts 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)977430689.78846153846155257.0CPython 3.114549999244.59615384615387389.0816673484385Nuitka (main)4549999399.4038461538462389.0816673484385Nuitka (develop)4549999554.2115384615385389.0816673484385Nuitka (factory)Construct RichComparisonConditionIntsTicks Construct RichComparisonConditionInts 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000110000001100000012000000120000001300000013000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)1352378388.95192307692307257.0CPython 3.103950042242.31730769230768431.9376405568676Nuitka (main)3950042395.6826923076923431.9376405568676Nuitka (develop)3950042549.0480769230769431.9376405568676Nuitka (factory)Construct RichComparisonConditionIntsTicks Construct RichComparisonConditionInts 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000110000001100000012000000120000001300000013000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1350135588.95192307692307257.0CPython 2.7725002242.31730769230768490.8456684960082Nuitka (main)725002395.6826923076923490.8456684960082Nuitka (develop)725002549.0480769230769490.8456684960082Nuitka (factory)Construct RichComparisonConditionIntsTicks

Source Code with Construct

    return value


for x in range(50000):
    # construct_begin
    calledRepeatedly(True, x)
    # 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

    return value


for x in range(50000):
    # construct_begin

    # construct_alternative
    calledRepeatedly(False, x)
    # 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.