Construct RichComparisonConditionInts

Performance Diagrams

Construct RichComparisonConditionInts 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)1127320788.95192307692307257.0CPython 3.126174845242.31730769230768368.7591193471797Nuitka (main)6174845395.6826923076923368.7591193471797Nuitka (develop)6174845549.0480769230769368.7591193471797Nuitka (factory)Construct RichComparisonConditionIntsTicks Construct RichComparisonConditionInts 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)977422489.78846153846155257.0CPython 3.114474999244.59615384615387390.9768787822401Nuitka (main)4474999399.4038461538462390.9768787822401Nuitka (develop)4474999554.2115384615385390.9768787822401Nuitka (factory)Construct RichComparisonConditionIntsTicks Construct RichComparisonConditionInts 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000110000001100000012000000120000001300000013000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)1352374188.95192307692307257.0CPython 3.103875042242.31730769230768433.3078695771442Nuitka (main)3875042395.6826923076923433.3078695771442Nuitka (develop)3875042549.0480769230769433.3078695771442Nuitka (factory)Construct RichComparisonConditionIntsTicks Construct RichComparisonConditionInts 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000900000090000001000000010000000110000001100000012000000120000001300000013000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1350135988.95192307692307257.0CPython 2.7925000242.31730769230768487.18510887282935Nuitka (main)925000395.6826923076923487.18510887282935Nuitka (develop)925000549.0480769230769487.18510887282935Nuitka (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.