Construct NumpyArrayConstruction

Performance Diagrams

Construct NumpyArrayConstruction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)18963050988.11538461538461262.0033843309602CPython 3.12193549333240.03846153846155257.0Nuitka (main)193523087391.96153846153845257.0335097532194Nuitka (develop)193517326543.8846153846154257.0408651478814Nuitka (factory)Construct NumpyArrayConstructionTicks Construct NumpyArrayConstruction -120000000-120000000-80000000-80000000-40000000-400000000040000000400000008000000080000000120000000120000000160000000160000000200000000200000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)16658082187.27884615384615200.88646640445964CPython 3.11-122152480237.75961538461542413.968277852443Nuitka (main)92893442388.2403846153846255.26689340679593Nuitka (develop)212697502538.7211538461538166.85289323705837Nuitka (factory)Construct NumpyArrayConstructionTicks Construct NumpyArrayConstruction -60000000-60000000-40000000-40000000-20000000-20000000002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)-7523836988.11538461538461422.5304471134441CPython 3.10152653679240.03846153846155175.4150624980595Nuitka (main)133853761391.96153846153845195.800806573288Nuitka (develop)122656964543.8846153846154207.94208496100686Nuitka (factory)Construct NumpyArrayConstructionTicks Construct NumpyArrayConstruction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)19545438488.11538461538461257.0CPython 2.7193719707240.03846153846155259.1931734927904Nuitka (main)193728872391.96153846153845259.1815860704279Nuitka (develop)193665281543.8846153846154259.26198495481964Nuitka (factory)Construct NumpyArrayConstructionTicks

Source Code with Construct

    return x


for x in itertools.repeat(None, 20000):
    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

    x = numpy.array, numpy.int32
    # construct_end

    return x


for x in itertools.repeat(None, 20000):
    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.