mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[benchmarks] Renaming PerformanceTest* => Benchmark*
GitOrigin-RevId: 9963b84d51e1062acc262a8d3d3de1409a708e3b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f4c5a365ab
commit
cdf91bf213
@@ -28,7 +28,7 @@ import com.intellij.psi.PsiManager
|
||||
import com.intellij.psi.impl.compiled.ClsFileImpl
|
||||
import com.intellij.testFramework.IdeaTestUtil
|
||||
import com.intellij.testFramework.PlatformTestUtil
|
||||
import com.intellij.tools.ide.metrics.benchmark.PerformanceTestUtil
|
||||
import com.intellij.tools.ide.metrics.benchmark.Benchmark
|
||||
import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
|
||||
import com.intellij.util.SystemProperties
|
||||
import com.intellij.util.io.URLUtil
|
||||
@@ -147,7 +147,7 @@ class IdeaDecompilerTest : LightJavaCodeInsightFixtureTestCase() {
|
||||
val jrt = JavaVersion.current().feature >= 9
|
||||
val base = if (jrt) "jrt://${SystemProperties.getJavaHome()}!/java.desktop/" else "jar://${SystemProperties.getJavaHome()}/lib/rt.jar!/"
|
||||
val file = VirtualFileManager.getInstance().findFileByUrl(base + "javax/swing/JTable.class")!!
|
||||
PerformanceTestUtil.newPerformanceTest("decompiling JTable.class") { decompiler.getText(file) }.start()
|
||||
Benchmark.newBenchmark("decompiling JTable.class") { decompiler.getText(file) }.start()
|
||||
}
|
||||
|
||||
fun testStructureView() {
|
||||
|
||||
Reference in New Issue
Block a user