summaryrefslogtreecommitdiff
path: root/plugins/kotlin/project-tests/fir-project-tests/test/org/jetbrains/kotlin/idea/fir/project/tests/perf/FirRustPerformanceTest.kt
blob: 853c67335b209484593ddb3d8e28b0cbaba5871e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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.fir.project.tests.perf

import org.jetbrains.kotlin.idea.base.project.test.ProjectBasedTestPreferences
import org.jetbrains.kotlin.idea.base.project.test.projects.RustProject
import org.jetbrains.kotlin.idea.fir.project.tests.AbstractFirProjectBasedTests

class FirRustPerformanceTest : AbstractFirProjectBasedTests() {
    override val testPrefix: String = "FIR"
    override val warmUpOnHelloWorldProject: Boolean = true

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

        test("Rust Plugin", RustProject.project, RustProject.actions, profile)
    }
}