The aim of this study was to evaluate the performance of very high-energy electron beams (VHEE) in comparison to clinically derived treatment plans generated with volumetric modulated arc therapy (VMAT) and proton pencil beam scanning (PPBS) technology. We developed a custom optimization script that could be applied automatically across modalities to eliminate operator bias during IMRT optimization. Four clinical cases were selected (prostate cancer, lung cancer, pediatric brain tumor, and head and neck cancer (HNC)). The VHEE beams were calculated in the EGSnrc/DOSXYZnrc Monte Carlo code for 100 and 200MeV beams. Treatment plans with VHEE, VMAT, and PPBS were optimized in a research version of RayStation using an in-house developed script to minimize operator bias between the different techniques. The in-house developed script generated similar or superior plans to the clinically used plans. In the comparisons between the modalities, the integral dose was lowest for the PPBS-generated plans in all cases. For the prostate case, the 200MeV VHEE plan showed reduced integral dose and reduced organ at risk (OAR) dose compared to the VMAT plan. For all other cases, both the 100 and the 200MeV VHEE plans were superior to the VMAT plans, and the VHEE plans showed better conformity and lower spinal cord dose in the pediatric brain case and lower brain stem dose in the HNC case when compared to the PPBS plan. The automated optimization developed in this study generated similar or superior plans as compared to the clinically used plan and represents an unbiased approach to compare treatment plans generated for different modalities. In the present study, we also show that VHEE plans are similar or superior to VMAT plans with reduced mean OAR dose and increased target conformity for a variety of clinical cases, and VHEE plans can even achieve reductions in OAR doses compared to PPBS plans for shallow targets. With increased VHEE energy, better conformity and even higher reductions in mean OAR doses are achieved. On the whole, VHEE was intermediate between photon VMAT and PPBS for OAR sparing.