summaryrefslogtreecommitdiff
path: root/plugins/kotlin/project-tests/fe10-project-tests/test/org/jetbrains/kotlin/idea/project/tests/perf/Fe10RustPerformanceTest.kt
blob: 7f271d47ea3e7877890f8a11a50630990732e768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.idea.project.tests.perf

import org.jetbrains.kotlin.idea.AbstractFE10ProjectBasedTests
import org.jetbrains.kotlin.idea.base.project.test.ProjectBasedTestPreferences
import org.jetbrains.kotlin.idea.base.project.test.projects.RustProject

class Fe10RustPerformanceTest : AbstractFE10ProjectBasedTests() {
    override val isBenchmark: Boolean = true

    fun testRustPlugin() {
        val profile = ProjectBasedTestPreferences(
            warmUpIterations = 5,
            iterations = 10,
            checkForValidity = true,
        )

        test(RustProject.project, RustProject.actions, profile)
    }
}