A method of tuning programs on .Net platform with rewriting rules

T.A. Mamedov, А.Yu. Doroshenko

Abstract


Software tool for computation optimization that allows to optimize semiautomatically to increase execution speed was developed. Plugin for TermWare system, which implements the concept of rewriting rules, was developed. The plugin represents an analyzer for C# using Roslyn platform and generates terms for TermWare system from source code. The work of software tool was illustrated on «Conway's Game of Life» - famous academic example. A comparison of the results of processing the implementation of the algorithm using the TermWare system and the Eazfuscator.NET library was given. The results were obtained by experiments on various data sizes. Speed of the program before and after modifications, the number of modifications required in the source code to work with the system was measured. The developed system and Eazfuscator.NET framework were tested on personal computer.

 


Keywords


cellular automaton «Conway's Game of Life»; autotuning; analyzer; speed measurement

References


Naono, K., Teranishi, K., Cavazos, J., Suda, R. (2010), Software Automatic Tuning From Concepts to State-of-the-Art Results. – Berlin: Springer. CrossRef

R Clinton Whaley, Jack J Dongarra, ATLAS. Encyclopedia of Parallel Computing. 2011. P. 95–101.

Katagiri T., Kise K., Honda H., Yuba T., AbcLibScript: A directive to support specification of an auto-tuning facility for numerical software. Parallel Computing. 2006. P. 92–112. CrossRef

Pavlo A. Ivanenko, Anatoliy Y. Doroshenko, and Kostiantyn A. Zhereb, TuningGenie: Auto-Tuning Framework Based on Rewriting Rules // in: 10th International Conference, ICTERI 2014, Kherson, Ukraine, June 9-12, 2014, Revised Selected Papers, Series: Communications in Computer and Information Science, (Ermolayev, V., Mayr, H.C., Nikitchenko, M., Spivakovsky, A., Zholtkevych, G. (Eds.)), Springer, CCIS Vol. 469, 2014. P. 139–160.

TermWare [Online]. Available from: http://www.gradsoft.ua/products/termware_rus.html

Eazfuscator.NET [Електронний ресурс]. – Режим доступу до ресурсу: https://www.gapotchenko.com/eazfuscator.net

Doroshenko A., Shevchenko R. A rewriting framework for rule-based programming dy-namic applications. Fundamenta Informaticae. – 2006. – Vol. 72, No. 1–3. – P. 95–108.

Roslyn [Online]. Available from: https://github.com/dotnet/roslyn

Zhereb K., Программный инструментарий, основанный на правилах для автоматизации разработки приложений на платформе Microsoft .NET // Control systems and computers.(4). P. 51–59. (in Russian).

JNI4NET [Online]. Available from: http://jni4net.com/

Application of Rewriting Term System for Source Code Analysis [Online]. Available from: http://www.gradsoft.ua/eng/white-papers/secr2008/secr2008-1.html




DOI: https://doi.org/10.15407/pp2019.02.011

Refbacks

  • There are currently no refbacks.