Skip to content

Commit

Permalink
protoc speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute authored Nov 8, 2023
1 parent cc76a0b commit 1e41a87
Show file tree
Hide file tree
Showing 9 changed files with 8,098 additions and 64 deletions.
16 changes: 8 additions & 8 deletions protobuf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,56 +8,56 @@ echo ""

# option java_package = "dev.katsute.onemta";
# option java_outer_classname = "GTFSRealtimeProto";
# option optimize_for = CODE_SIZE;
# option optimize_for = SPEED;

protobuf/bin/protoc -I=protobuf --java_out=protobuf protobuf/gtfs-realtime.proto

# import "gtfs-realtime.proto";
# option java_package = "dev.katsute.onemta";
# option java_outer_classname = "OneBusAwayProto";
# option optimize_for = CODE_SIZE;
# option optimize_for = SPEED;

protobuf/bin/protoc -I=protobuf --java_out=protobuf protobuf/gtfs-realtime-OneBusAway.proto

# import "gtfs-realtime.proto";
# option java_package = "dev.katsute.onemta";
# option java_outer_classname = "NYCTSubwayProto";
# option optimize_for = CODE_SIZE;
# option optimize_for = SPEED;

protobuf/bin/protoc -I=protobuf --java_out=protobuf protobuf/gtfs-realtime-NYCT.proto

# import "gtfs-realtime.proto";
# option java_package = "dev.katsute.onemta";
# option java_outer_classname = "MTARRProto";
# option optimize_for = CODE_SIZE;
# option optimize_for = SPEED;

protobuf/bin/protoc -I=protobuf --java_out=protobuf protobuf/gtfs-realtime-MTARR.proto

# import "gtfs-realtime.proto";
# option java_package = "dev.katsute.onemta";
# option java_outer_classname = "LIRRProto";
# option optimize_for = CODE_SIZE;
# option optimize_for = SPEED;

protobuf/bin/protoc -I=protobuf --java_out=protobuf protobuf/gtfs-realtime-LIRR.proto

# import "gtfs-realtime.proto";
# option java_package = "dev.katsute.onemta";
# option java_outer_classname = "MNRRProto";
# option optimize_for = CODE_SIZE;
# option optimize_for = SPEED;

protobuf/bin/protoc -I=protobuf --java_out=protobuf protobuf/gtfs-realtime-MNR.proto

# import "gtfs-realtime.proto";
# option java_package = "dev.katsute.onemta";
# option java_outer_classname = "CrowdingProto";
# option optimize_for = CODE_SIZE;
# option optimize_for = SPEED;

protobuf/bin/protoc -I=protobuf --java_out=protobuf protobuf/gtfs-realtime-crowding.proto

# import "gtfs-realtime.proto";
# option java_package = "dev.katsute.onemta";
# option java_outer_classname = "ServiceStatusProto";
# option optimize_for = CODE_SIZE;
# option optimize_for = SPEED;

protobuf/bin/protoc -I=protobuf --java_out=protobuf protobuf/gtfs-realtime-service-status.proto

Expand Down
157 changes: 156 additions & 1 deletion src/main/java/dev/katsute/onemta/CrowdingProto.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1e41a87

Please sign in to comment.