intellij-rust: Performance tests fail

I’ve updated source this morning (as I do every days) and after build performance tests fail (both nightly and stable rust).

This is the output for the standard rust release (If you need index.html file I can add it).

:generateRustDocHighlightingLexer UP-TO-DATE
:generateRustLexer UP-TO-DATE
:generateRustPsiAndParser UP-TO-DATE
:generate UP-TO-DATE
:compileKotlin UP-TO-DATE
:compileJava UP-TO-DATE
:copyMainKotlinClasses
:processResources UP-TO-DATE
:classes
:prepareSandbox
:buildPlugin
:jar
:assemble
:processTestResources UP-TO-DATE
:compileTestKotlin
:compileTestJava UP-TO-DATE
:copyTestKotlinClasses UP-TO-DATE
:testClasses
:prepareTestsSandbox
:performanceTest
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=250m; support was removed in 8.0

org.rust.lang.core.parser.RustParserPerformanceTest > testHighlightingPerformance STANDARD_ERROR
    [  18607]   WARN - impl.local.LocalFileSystemBase - Invalid path: light_idea_test_case.iml 
    [  22398]   WARN - rg.rust.cargo.toolchain.Rustup - Failed to execute `/home/mdamico/.cargo/bin/rustc --print sysroot`
    code  : -1
    stdout:

    stderr:


org.rust.lang.core.parser.RustParserPerformanceTest > testHighlightingPerformance FAILED
    java.lang.IllegalStateException: Failed to download standard library: Failed to find stdlib in sysroot

org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerTests STANDARD_ERROR
    [  22678]   WARN - impl.local.LocalFileSystemBase - Invalid path: light_idea_test_case.iml 

org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerTests STANDARD_OUT
    testParsingCompilerTests totalTime: 47208

    testParsingCompilerTests 
    Total: 47208ms
    Files: 6471

    Slowest files
    173ms  76kb: run-pass/issue-29466.rs
    136ms  27kb: run-pass/impl-trait/example-calendar.rs
    126ms   0kb: ui/span/pub-struct-field.rs
     53ms 141kb: run-pass/issue-29227.rs
     47ms   9kb: run-pass/ifmt.rs


org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerTests PASSED

org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerSources STANDARD_OUT
    testParsingCompilerSources totalTime: 33189

    testParsingCompilerSources 
    Total: 33189ms
    Files: 1085

    Slowest files
    282ms 219kb: librustc_unicode/tables.rs
    193ms 232kb: libsyntax/parse/parser.rs
    166ms 174kb: librustc_platform_intrinsics/aarch64.rs
    145ms  97kb: librustc_trans/expr.rs
    138ms 193kb: librustc_typeck/check/mod.rs


org.rust.lang.core.parser.RustParserPerformanceTest > testParsingCompilerSources PASSED

org.rust.ide.annotator.RustHighlightingPerformanceTest > testHighlightingWithStdlib STANDARD_OUT
    testHighlightingWithStdlib: 1675

org.rust.ide.annotator.RustHighlightingPerformanceTest > testHighlightingWithStdlib PASSED

4 tests completed, 1 failed
:performanceTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':performanceTest'.
> There were failing tests. See the report at: file:///home/mdamico/tttt/intellij-rust/build/reports/performanceTests/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

The nightly output is slightly different, let me know if you need it.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (21 by maintainers)

Most upvoted comments

I’m using Linux (Ubuntu 16.04). I cannot try it now, I can check If it occur also on my laptop at home in the WE and to try to set up the plugin project in intellj… but not now, sorry.