Commit Graph

82 Commits

Author SHA1 Message Date
Alexander Shabalin 44ea1debf4 [K/N] Fix performance build ^KT-53776
Merge-request: KT-MR-8119
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-12-22 12:39:33 +00:00
Yahor Berdnikau a14d0d148b Simplify Kotlin bootstrap application in the project
Move all the code to apply Kotlin bootstrap into settings script plugin
which does following:
- configures based either on the repo root 'local.properties' or on the
root project gradle properties or on the repo root 'gradle.properties'
current type of bootstrap
- automatically adds Kotlin bootstrap repository with
exclusive content, so bootstrap dependencies will not be by mistake
downloaded from other repository
- automatically forces all Kotlin plugins applied in the build to use
bootstrap version

This script should be applied only in project settings.gradle and then
it does all the configuration by itself.
2022-11-29 14:31:48 +00:00
Troels Bjerre Lund 1fbc478833 [K/N] Fix benchmark build
The bootstrap advance to 1.8.20-dev-2904 broke the K/N performance
benchmark build, when built in non-Java8 environments.


Co-authored-by: Troels Lund <troels@google.com>

Merge-request: KOTLIN-MR-576
Merged-by: Pavel Punegov <pavel.punegov@jetbrains.com>
2022-11-24 14:54:32 +00:00
Alexander Shabalin a31c3f979b [K/N] Benchmarks on weak references
Merge-request: KT-MR-7575
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-11-15 13:22:15 +00:00
Vladimir Sukharev 574d78efce [K/N] Remove remains of jcenter from kotlin-native/
Revert two special entries

Use proper mavenCentral()

Remove remains of jcenter from kotlin-native/

Merge-request: KT-MR-7610
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2022-11-09 13:23:09 +00:00
Nikolay Krasko a4cd485f48 Remove native-platform 0.14 usage from the buildSrc
It looks like net.rubygrapefruit:native-platform:0.14 is not in
plugins.gradle.org repository anymore.

And it's not used anyway.

> Task :buildSrc:generateExternalPluginSpecBuilders FAILED

'''
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
   > Could not find native-platform-0.14.jar (net.rubygrapefruit:native-platform:0.14).
     Searched in the following locations:
         https://cache-redirector.jetbrains.com/plugins.gradle.org/net/rubygrapefruit/native-platform/0.14/native-platform-0.14.jar
'''

Can be reproduced with

```gradle --refresh-dependencies -i tasks -Pkotlin.native.enabled=true```

KTI-986
2022-11-08 21:31:43 +01:00
Vladimir Sukharev 44f638e952 Drop K/N dependency to JCenter 2022-11-03 10:51:56 +00:00
Pavel Punegov 00e9544670 [K/N][perf] Set project properties for benchmarksAnalyzer build
Merge-request: KT-MR-7520
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2022-11-01 13:44:29 +00:00
Troels Bjerre Lund 80b50bcd21 [K/N] Improve performance benchmark build
This unlinks the benchmarksAnalyzer build from being configured automatically
whenever any benchmark build is.

Co-authored-by: Troels Lund <troels@google.com>
2022-10-26 13:02:24 +00:00
Svyatoslav Scherbina 7bf6d64cfb Native: move samples to backend.native/tests/ 2022-08-31 16:10:04 +00:00
Pavel Punegov e08efa8e3b [K/N][perf] Set mingw path on Windows
Benchmark analyzer depends on curl. And needs a path to mingw binaries.

Merge-request: KT-MR-6797
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2022-08-05 11:05:12 +00:00
Pavel Punegov edbccd0add Revert "[K/N][perf] Use properties file to get TeamCity URL"
This reverts commit a961a93da7.
2022-07-28 12:39:08 +02:00
Pavel Punegov a961a93da7 [K/N][perf] Use properties file to get TeamCity URL 2022-07-27 09:06:34 +00:00
Pavel Kunyavskiy d6f235679b [K/N] Get rid of urls in perf infra code 2022-07-25 21:25:23 +00:00
Johan Bay 151448274b [K/N] Add concurrent version of Splay benchmark 2022-07-21 07:57:27 +00:00
Pavel Punegov 0e375e4a3f [K/N][perf] Exclude videoplayer bench from execution
Due to the luck of available agents that have SDL and ffmpeg turn off this benchmark
2022-06-23 13:57:32 +00:00
Alexander Shabalin 29f3445721 [K/N] Deprecated freezing ^KT-50541
Starting with 1.7.20 freezing is deprecated. See https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#freezing-deprecation for details.

Merge-request: KT-MR-6399
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-06-16 09:04:14 +00:00
Troels Bjerre Lund 4775855fd7 [K/N] Add two more benchmarks from the V8 suite 2022-06-15 09:25:56 +00:00
Mads Ager ddb140cc51 [K/N] Add splay benchmark based on the V8 Benchmark Suite.
The benchmark constructs a splay tree, measures the time it takes
to performs a number of insertions and removals, and after
measurements validates that the splay tree is valid.
2022-06-01 14:14:15 +00:00
Pavel Kunyavskiy 9801a21abb [K/N] Enable new mm for native by default 2022-05-11 10:26:13 +00:00
Pavel Punegov ed6ddf4e4f [K/N][build] Set kotlin root to get versions.properties file 2022-04-21 18:15:28 +00:00
Alexander Shabalin 3f93f2796d [K/N] Add ComplexArraysBenchmark
Merge-request: KT-MR-6082
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-04-15 07:40:10 +00:00
Pavel Punegov 3b53d8694f [K/N][build] Fix build version property usage 2022-04-12 08:33:31 +00:00
Pavel Punegov d69df1898d [build] Advance kotlin-build-gradle-plugin version to 0.0.38 in the repo
Use build Gradle plugin version property
2022-04-08 14:42:35 +03:00
Elena Lepilkina 04da0ba55d [K/N][perf] Fix swiftinterop benchmarks linkTask names 2022-04-07 20:06:40 +03:00
Elena Lepilkina 23d66fabad [K/N][perf] Fix swiftinterop benchmrks 2022-04-07 20:06:40 +03:00
Elena Lepilkina 087f7e3b31 [K/N] Added possibility to run only base part of benchmarks 2022-04-07 20:06:40 +03:00
Vyacheslav Gerasimov 5e09c3176f Build: Set kotlin.build.cache.push to false by default
#KTI-793
2022-03-13 20:29:12 +00:00
Nikolay Krasko 0b4aea4103 Fix exhaustive when error in :ring:compileKotlinNative 2022-03-01 02:28:52 +03:00
Nikolay Krasko a2cef5c930 Update shadow plugin to 7.1.2
^KTI-728 Fixed
2022-02-22 21:43:27 +03:00
Dmitriy Novozhilov 3d48f9926f [Build] Update version of kotlin-build-gradle-plugin to 0.0.35 2022-02-18 17:44:44 +03:00
Elena Lepilkina 76220ebf43 [K/N][perf] Fix videoplayer compile only benchmark for mac_arm64 2022-02-17 09:43:43 +00:00
Elena Lepilkina 015920257f [K/N][perf] Adopt benchmarks plugins and tools to support both macosX64 and macosArm64 2022-02-17 09:43:42 +00:00
Elena Lepilkina b9a1b3c4df [K/N][perf] Support framework benchmark on macosArm64 2022-02-17 09:43:42 +00:00
Nikolay Krasko 85521f01f8 Update shadow plugin 6.1.0 -> 7.1.1
Version 7.1.1 is absent in jcenter, so additional repository was added
in some modules.

Leave old version in NewMultiplatformIT.kt because of
`This version of Shadow supports Gradle 7.0+ only. Please upgrade.` error.

^KTI-733 Fixed
2021-12-20 21:39:00 +03:00
Alexander Shabalin 3e9ee8cf6f [K/N] Do not clean benchmarksAnalyzer from performance project clean
Merge-request: KT-MR-5217
2021-12-08 19:57:44 +00:00
Sergey Bogolepov 0eb0d2c10e [K/N] Fix performance suite after update to Xcode 13 2021-12-01 09:53:53 +00:00
Alexander Udalov 8a7d86c4e5 Build: remove obsolete argument -Xskip-runtime-version-check
It was removed in KT-41664.
2021-11-30 17:13:10 +01:00
Elena Lepilkina 9ad62eb1fd [K/N][perf] Added more buildSrc files in excluding list in performance infrastructure 2021-10-12 11:35:00 +00:00
Ilya Matveev b07f78cc8b [K/N][perf] Workaround broken buildSrc compilation
benchmarksAnalyzer/buildSrc includes sources from K/N's 'build-tools'
subproject. But now these sources depend on the old Kotlin/Native
Gradle plugin (aka tools/kotlin-native-gradle-plugin) causing
compilation errors when building benchmarksAnalyzer/buildSrc.

This patch works around this problem by ignoring the file that
brings this dependency.
2021-10-07 10:19:33 +00:00
Elena Lepilkina 62dfd528e3 [K/N][perf] Added benchmarks for unsigned arrays for-loops 2021-10-04 06:12:22 +00:00
Elena Lepilkina cb7fab612c [K/N][perf] Fix running benchmarks with custom native build type 2021-09-28 07:06:05 +00:00
Mikhail Glukhikh ed035d99ab Migrate -Xopt-in to -opt-in in Gradle Kotlin scripts 2021-09-03 15:40:47 +03:00
Elena Lepilkina 9ed08438d5 [K/N][perf] Windows bat script for getting parameter value 2021-09-03 07:35:16 +00:00
Elena Lepilkina a3158841fb [K/N][perf] Added script to get and redefine compiler args on TC 2021-09-03 07:35:15 +00:00
Dmitriy Novozhilov d7368c341e [Build] Update kotlin-build-gradle-plugin version to 0.0.32 2021-08-05 15:22:41 +03:00
Elena Lepilkina dcd61c292d [K/N][perf] Fix kotlin language version in kotlin-dsl plugin for performance subproject 2021-08-04 10:39:53 +00:00
Elena Lepilkina e29a67b3a3 [K/N][perf] Added autoreleasepool in swiftinterop benchmarks 2021-07-22 11:37:55 +00:00
Elena Lepilkina cdeda58ed4 [K/N][perf] Added opportunity to set up tagged branch and added benchmarks plots for new MM 2021-07-12 12:26:20 +00:00
Pavel Punegov 269f83f86e Update kotlin-build-gradle-plugin to 0.0.31 2021-07-05 19:43:28 +00:00