10.10.4 SSD Trim Command
New in this version of Yosemite, Terminal can be used to enable TRIM on non-Apple SSDs without the use of 3rd party enablers. I haven't personally used this but others have and it's working fine on non-Apple SSDs.
Open Terminal. To get the command's parameters, type man trimforce
Type sudo trimforce enable <-- this will enable TRIM on a non-Apple SSD and does not have to be re-enabled after Software Updates.
Enter an administrator password.
Restart your Mac.
Open /Applications/Utilities/System Information and check your SSD drive to make sure TRIM Support is set to YES.
Or within Terminal, type system_profiler SPSerialATADataType | grep 'TRIM'
MacBook Pro with Retina display, OS X Mavericks (10.9.5), Mac Mini 10.9.5 & OS X Server 3.2.2