objectionary / eo

EOLANG, an Experimental Pure Object-Oriented Programming Language Based on 𝜑-calculus
https://www.eolang.org
MIT License
943 stars 123 forks source link

Printing PHI Expressions Extremely Slow #3257

Open volodya-lombrozo opened 1 week ago

volodya-lombrozo commented 1 week ago

I tried to run xmir-to-phi goal with the following configuration:

<plugin>
  <groupId>org.eolang</groupId>
  <artifactId>eo-maven-plugin</artifactId>
  <version>0.38.4</version>
  <executions>
    <execution>
      <id>convert-xmir-to-phi</id>
      <phase>process-classes</phase>
      <goals>
        <goal>xmir-to-phi</goal>
      </goals>
      <configuration>
        <phiInputDir>${project.build.directory}/generated-sources/jeo-xmir</phiInputDir>
        <phiOutputDir>${project.build.directory}/generated-sources/jeo-phi</phiOutputDir>
      </configuration>
    </execution>
  </executions>
</plugin>

I run this goal on the project with thousands of xmir files and it took me hours to convert only some xmir files (I haven't managed to wait until the end of printing and stopped the test.) Could you speed up the printing process somehow, please?

volodya-lombrozo commented 1 week ago

@maxonfjvipon Could you take a look please?

github-actions[bot] commented 1 week ago

@volodya-lombrozo thanks for the report, here is a feedback:

Problems

I would recommend including specific performance metrics, such as the exact time it took for the process to run.

Please fix the bug report in order it to get resolved faster. Analyzed with gpt-4