Name Date Size #Lines LOC

..--

examples/omnetpp/H25-Apr-2025-155102

README.mdH A D25-Apr-20251 KiB2416

example_algorithms.pyH A D25-Apr-20255.5 KiB217155

flags.pyH A D25-Apr-20255.8 KiB203122

flags_test.pyH A D25-Apr-20255.7 KiB194115

flags_util.pyH A D25-Apr-20253.3 KiB9754

generation.pyH A D25-Apr-20255 KiB14192

generation_test.pyH A D25-Apr-20252.2 KiB7435

genetic_algorithm.pyH A D25-Apr-202510.2 KiB305190

hill_climb_best_neighbor.pyH A D25-Apr-20253.5 KiB11172

iterative_elimination.pyH A D25-Apr-20256.6 KiB180109

mock_task.pyH A D25-Apr-20252.8 KiB9464

pipeline_process.pyH A D25-Apr-20255 KiB146107

pipeline_process_test.pyH A D25-Apr-20252.7 KiB9660

pipeline_worker.pyH A D25-Apr-20256.3 KiB148102

pipeline_worker_test.pyH A D25-Apr-20254.4 KiB13680

steering.pyH A D25-Apr-20255 KiB11756

steering_test.pyH A D25-Apr-20255.9 KiB185112

task.pyH A D25-Apr-202516.2 KiB495315

task_test.pyH A D25-Apr-20256.1 KiB186111

testing_batch.pyH A D25-Apr-202515.2 KiB457275

README.md

1# bestflags
2
3There is a vast set of compiler flags that can be used to build Chrome for
4ChromeOS. This option space has not been explored before. This directory
5provides an infrastructure to build Chrome with certain flag combinations, test
6it, gather results and prepare a fresh batch of flags to repeat the process. The
7infrastructure supports plug-in modules that implement algorithms for searching
8in the N-Dimensional space of compiler flag combinations.
9
10Currently, three different algorithms are built, namely genetic algorithm, hill
11climbing and negative flag iterative elimination. The module `testing_batch.py`
12contains the testing of these algorithms.
13
14To run the script, type in `python testing_batch.py`.
15
16For further information about the project, please refer to the design document
17at:
18
19https://docs.google.com/a/google.com/document/d/19iE9rhszTWjISBpKJ3qK8uBCoUjs0o4etWDRkyEeUOw/
20
21There is also a presentation slide available at:
22
23https://docs.google.com/a/google.com/presentation/d/13rS9jALXffbP48YsF0-bsqovrVBfgzEud4e-XpavOdA/edit#slide=id.gf880fcd4_180
24