Construct InplaceOperationIntegerMul

Performance Diagrams

Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)10311426288.11538461538461257.0CPython 3.12100282242240.03846153846155263.7869923904267Nuitka (main)99418651391.96153846153845265.8566054388659Nuitka (develop)99418651543.8846153846154265.8566054388659Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)9000237788.95192307692307257.0CPython 3.1180000591242.31730769230768284.4614435375498Nuitka (main)80000437395.6826923076923284.4618663682627Nuitka (develop)80000437549.0480769230769284.4618663682627Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)11169356888.11538461538461257.0CPython 3.1079301124240.03846153846155328.6663582426905Nuitka (main)79301270391.96153846153845328.66603522636285Nuitka (develop)79301270543.8846153846154328.66603522636285Nuitka (factory)Construct InplaceOperationIntegerMulTicks Construct InplaceOperationIntegerMul 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)6469779288.95192307692307257.0CPython 2.712850584242.31730769230768455.0321483947064Nuitka (main)12850436395.6826923076923455.03271368566595Nuitka (develop)12850436549.0480769230769455.03271368566595Nuitka (factory)Construct InplaceOperationIntegerMulTicks

Source Code with Construct

    # construct_begin
    s *= 1000
    s *= 1000
    s *= 1000
    s *= 1000
    s *= 1000
    # construct_end
    s *= module_value2

    return s


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

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_begin






    s *= module_value2

    return s


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

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.